[Tutor] Question on pg and pgdb module again

John Fabiani jfabiani at yolo.com
Mon Aug 16 18:56:33 CEST 2004


import pgdb
con=pgdb.connect('192.168.1.202:acct_am:johnf:passwd')
where '192.168.1.202' = the server could be localhost.
acct_am = the database
johnf = the user
passwd = the password for the user and database
John



More information about the Tutor mailing list