pysqlite problem

Tim Golden tim.golden at
Wed Mar 1 12:43:10 CET 2006

[bapolis at]

| my bad. that was the wrong code, here is my code:
| from pysqlite2 import dbapi2 as sqlite
| con = sqlite.connect("ex1")
| cur = con.cursor()
| cur.execute("select * from tbl1")
| print cur.fetchall()

Just a thought... is the file containing
your database called -- exactly -- ex1? It's
not called ex1.db or something? Because sqlite
will happily create a new database when you
connect, and if it did, it would obviously not
contain your table.


This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

More information about the Python-list mailing list