Re: High level csv reader

2006-11-01 Thread George Sakkis
[EMAIL PROTECTED] wrote: > George> It occured to me that most times I read a csv file, I'm often > George> doing from scratch things like assigning labels to columns, > George> mapping fields to the appropriate type, ignoring some fields, > George> changing their order, etc. Before I

Re: High level csv reader

2006-11-01 Thread skip
George> It occured to me that most times I read a csv file, I'm often George> doing from scratch things like assigning labels to columns, George> mapping fields to the appropriate type, ignoring some fields, George> changing their order, etc. Before I go on and reinvent the Ge

Re: High level csv reader

2006-11-01 Thread John Machin
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 h

Re: High level csv reader

2006-11-01 Thread John Machin
James Stroud wrote: > 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

Re: High level csv reader

2006-11-01 Thread Fredrik Lundh
James Stroud wrote: >> Before I go on and reinvent the wheel, is there a generic high level >> wrapper around csv.reader that does all this ? > > There is a csv in the standard library. I'm not sure the "csv" module qualifies as a high-level wrapper around itself, though. -- http://mail.pyt

Re: High level csv reader

2006-11-01 Thread James Stroud
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 h

High level csv reader

2006-10-31 Thread George Sakkis
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.