remote db connection

marcin andrzejewski m.andrzejewski at dmz.com.pl
Wed Dec 4 06:08:47 EST 2002


is it possible to create a db connection object on server and use it by
client ?
which protocol (xml-rpc, soap, pyro) should i use ?

client:
px=protocol.proxy(remote_machine)
rdb=px.db(user,pass,database)
rcs=rdb.cursor()
data=rcs.fetchall("select * from")
rdb.close()
del px
--
marcin andrzejewski
m.andrzejewski at dmz.com.pl
keson at post.pl





More information about the Python-list mailing list