Any suggestions for working w/ CSVs?
Matthew Dixon Cowles
matt at mondoinfo.com
Fri Oct 27 14:59:00 EDT 2000
On Fri, 27 Oct 2000 11:37:39 -0700, donotspam-jen at personic.com
<dnotspam-jen at personic.com> wrote:
>Is there something already written that deals with CSVs? In
>particular, where quotes are used to enclose fields that contain
>commas.
Jen,
I can't tell exactly what you mean by "deals with". If you need to
split the data, I (prolly like zillions of others) have a module to do
that. Like almost everyone else who has written one, I bet, I wrote
the module to work on the data I had rather than from an official
definition of the format.
In case it's of use to you, it's at:
ftp.visi.com/users/mdc/csvsplit.py
I bet that you could find various others at the Vaults of Parnassus:
http://www.vex.net/parnassus/
Regards,
Matt
More information about the Python-list
mailing list