Quickest way to dump Python dictionary (dict) object to a MySQL table?
Posted
by NJTechGuy
on Stack Overflow
See other posts from Stack Overflow
or by NJTechGuy
Published on 2010-04-09T22:03:22Z
Indexed on
2010/04/09
23:23 UTC
Read the original article
Hit count: 214
I have a dict object. I dumped the data using this:
for alldata in data: # print all data to screen
print data[alldata]
Each field had brackets [] and 'None' values for NULLS and date.datetime for date values.
How do I dump this dict to MySQL table? Thank you!
© Stack Overflow or respective owner