Sqlite format string

Sergio Charpinel Jr. sergiocharpinel at gmail.com
Sat Aug 29 16:27:45 EDT 2009


Hi,
I have this statement cursor.execute("SELECT * from session_attribute WHERE
sid=%s", ( user ))
and I'm receiving this error :

TypeError: not all arguments converted during string formatting

What is wrong ?
-- 
Sergio Roberto Charpinel Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090829/05dfd9bc/attachment.html>


More information about the Python-list mailing list