importing csv file into sqlite
prologic at shortcircuit.net.au
Fri Dec 19 01:23:30 CET 2008
On Fri, Dec 19, 2008 at 10:11 AM, Gabriel Genellina
<gagsl-py2 at yahoo.com.ar> wrote:
> But your code does *exactly* that, it reads the whole file in memory:
>> def mkBuffer(fd):
>> buffer = StringIO()
> That mkBuffer function has no useful purpose IMHO, just remove it.
It was a mistake in my implementation at the
time of writing :) I've since fixed and removed it!
Thanks though :)
More information about the Python-list