High level csv reader
James Stroud
jstroud at mbi.ucla.edu
Wed Nov 1 04:34:17 EST 2006
George Sakkis wrote:
> It occured to me that most times I read a csv file, I'm often doing
> from scratch things like assigning labels to columns, mapping fields to
> the appropriate type, ignoring some fields, changing their order, etc.
> Before I go on and reinvent the wheel, is there a generic high level
> wrapper around csv.reader that does all this ?
>
> Thanks,
> George
>
There is a csv in the standard library. Though many of us don't mind
answering questions like this, you can get a lot of answers quicker by
(1) looking to see what's in the standard library and (2) using google.
http://docs.python.org/lib/module-csv.html
James
More information about the Python-list
mailing list