I'm sorry. I think I didn't explain myself well. My problem is not with the database.. The part I'm not sure how to do is connect to the remote computer.. I read somewhere that os.popen would work, but I'm not sure if that will do for me because I have to enter a passphrase and password to connect to the remote machine.
Any ideas??
Thanks,
Patricia
On 6/11/06, Roy Mac <[EMAIL PROTECTED]> wrote:
Try looking at PyDO - This provides an interface between Python and your
database. This allows you to change your database at a later time and not
have to change any Python.
The excerpt below is from:
http://skunkweb.sourceforge.net/PyDO2/api/html/public/pydo-module.html
PyDO (Python Data Objects) is an object-relational wrapper for
relational databases. It provides a convenient API for retrieving and
manipulating data without constraining in any way how the data is
persisted at the RDBMS level. Supported databases are:
* postgresql
* mysql
* sqlite
* mssql
* oracle
-----Original Message-----
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf
Of Patricia
Sent: Sunday, June 11, 2006 4:19 PM
To: tutor@python.org
Subject: [Tutor] connect to a remote machine - Linux
Hi All,
I need to connect to a remote computer on the same network to store data
into its mysql database, and I need to do this using python script.
Although I've used mysql and python before, I have no idea how to access a
remote computer with Python. Also, I would have to enter a passphrase and
password to successfully connect to it..
I'd appreciate any help.
Thanks!!
Patricia
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor