Trying to fix Invalid CSV File

John Machin sjmachin at lexicon.net
Mon Aug 4 04:01:05 EDT 2008


On Aug 4, 5:49 pm, Ryan Rosario <uclamath... at gmail.com> wrote:

>
> Thanks Emile! Works almost perfectly, but is there some way I can
> adapt this to quote fields that contain a comma in them?
>

You originally said "I have a very large CSV file that contains double
quoted fields (since they contain commas)". Are you now saying  that
if a field contained a comma, you didn't wrap the field in quotes? Or
is this a separate question unrelated to your original problem?




More information about the Python-list mailing list