SQLite3 trapping OperationalError
inq1ltd at verizon.net
Fri Mar 9 19:14:48 CET 2007
I set up a table in SQLite3.
While running other modules I want to know if a
SQL has a command "List Tables" but I don't think
SQLlite3 has this command.
cursor.execute("select * from debtor where key
is not null ")
The table debtor does not exist so I get
which I want to trap with try/except or some other
However python 2.5,
"OperationalError" is not defined.
Ideas on how to determine if a table exists would
More information about the Python-list