dads wrote:
When the method below is run it raises 'sqlite3.OperationalError: no
such table: dave'.
the arguments are ds = a datestamp and w = a string of digits. The
path of the db is
C:\sv_zip_test\2006\2006.db and the table is definitely named dave.
I've run the sql
in sql manager and it works. Is this a bug?
dbfp = os.path.abspath(os.path.join(archive, year, year + '.db'))
if os.path.exists(dbfp):
con = sqlite3.connect('dbfp')
did you mean
connect(dbfp)
instead of
connect('dbfp')
?
-tkc
--
http://mail.python.org/mailman/listinfo/python-list