[DB-SIG] Can't connect
Russell Shaw
rjshaw at iprimus.com.au
Wed Feb 11 22:41:13 EST 2004
Hi,
I just learnt python. In my python file,
i have:
from pyPgSQL import libpq
...
conn=connect(host="localhost",database="parts",user="russell")
I get an error. python db.py:
Traceback (most recent call last):
File "db.py", line 108, in ?
conn=connect(host="localhost",database="parts",user="russell")
NameError: name 'connect' is not defined
Where can i find the functions defined in libpq? (i'm using debian)
More information about the DB-SIG
mailing list