[Tutor] connect to a remote machine - Linux
patriciap.gu at gmail.com
Mon Jun 12 01:48:06 CEST 2006
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.
On 6/11/06, Roy Mac <roymac1 at ntlworld.com> 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:
> 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: tutor-bounces at python.org [mailto:tutor-bounces at python.org] On Behalf
> Of Patricia
> Sent: Sunday, June 11, 2006 4:19 PM
> To: tutor at 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.
> Tutor maillist - Tutor at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor