problem with sqlite3: cannot use < in a SQL query with (?)
Chris Angelico
rosuav at gmail.com
Wed Jan 22 21:42:02 EST 2014
On Thu, Jan 23, 2014 at 1:32 PM, lgabiot <lgabiot at hotmail.com> wrote:
>>>>cursor = conn.execute("SELECT filename, filepath FROM files WHERE
>>>> max_level<(?)", threshold)
> that doesn't work (throw an exception)
What exception, exactly? Was it telling you that an integer is not
iterable, perhaps? If so, check your docs for conn.execute(). If not,
can you post the exact exception, please?
ChrisA
More information about the Python-list
mailing list