problems with CSV module

Neil Cerutti neilc at norwich.edu
Thu Jun 3 16:18:05 EDT 2010


On 2010-06-03, Carlos Grohmann <carlos.grohmann at gmail.com> wrote:
>> Use:
>> ? ?csvfile = csv.reader(csvfile, dialect=dialect)
>> dialect is a keyword argument.
>
> thanks for pointing that out.it stopped the errors when there s
> only one data line, but it still can't get the values for that
> line

Is it possible your data is ill-formed in that case? If it's
lacking a line-end, I don't know what should happen.

-- 
Neil Cerutti



More information about the Python-list mailing list