I have python code that I am executing but it gives me following error:
<sqlite3.Cursor object at 0x7f3c7666dc00>
when I execute the cur.execute(statement). the code that is below the cur.execute is not read and nothing gets written. here is part of the code i am using
statement = 'select "index",path,id from %s' %(table,) + " WHERE done IS NULL AND job = '%s';" %(job,)
cur.execute(statement)
for row in cur:
print row
pszFilename = row[1]
name = os.path.basename(pszFilename)
foo = int(name[2:4])
if foo%2 == 0:
meridian = foo + 1
else: meridian = foo
print 'meridian: ',meridian