importing csv file into sqlite
prologic at shortcircuit.net.au
Fri Dec 19 12:50:04 CET 2008
On Fri, Dec 19, 2008 at 8:32 PM, Peter Otten <__peter__ at web.de> wrote:
> James Mills wrote:
>> values = ",".join(["\"%s\"" % x for x in line])
>> print "INSERT INTO %s %s VALUES (%s);" % (table, fields, values)
It's a tool! Not one meant to be used
publicly from untrusted users.
Free feel to submit a patch as is
the Open Source spirit!
More information about the Python-list