importing csv file into sqlite

James Mills prologic at
Fri Dec 19 01:23:30 CET 2008

On Fri, Dec 19, 2008 at 10:11 AM, Gabriel Genellina
<gagsl-py2 at> wrote:
> But your code does *exactly* that, it reads the whole file in memory:
>> def mkBuffer(fd):
>>  buffer = StringIO()
>>  buffer.write(
>>  ...
> 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 mailing list