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 -- http://mail.python.org/mailman/listinfo/python-list