Saving Lists as BLOB
John Bradbury
john_bradbury at ___cableinet.co.uk
Wed Jun 4 14:01:28 EDT 2003
Is there any way to save a Python List (or Dictionary) as a binary field
in MySQLdb?
I have tried :
CR.execute("UPDATE STDPAGE SET content_s = %s,fldlist = %s where name =
'DATAENTRY'", (pagout,flds) )
where flds is a python list and I get an sql error. I dont want to convert
the list to a string which would work.
Apologies if this gets posted twice, but I am having problems with my email
server.
John Bradbury
More information about the Python-list
mailing list