Re: CSV module: incorrectly parsed file.

2008-02-17 Thread Steve Holden
7stud wrote: > On Feb 17, 9:11 pm, 7stud <[EMAIL PROTECTED]> wrote: >> On Feb 17, 7:09 pm, Christopher Barrington-Leigh >> >> >> >> <[EMAIL PROTECTED]> wrote: >>> Here is a file "test.csv" >>> number,name,description,value >>> 1,"wer","tape 2"",5 >>> 1,vvv,"hoohaa",2 >>> I want to convert it to tab

Re: CSV module: incorrectly parsed file.

2008-02-17 Thread 7stud
On Feb 17, 9:11 pm, 7stud <[EMAIL PROTECTED]> wrote: > On Feb 17, 7:09 pm, Christopher Barrington-Leigh > > > > <[EMAIL PROTECTED]> wrote: > > Here is a file "test.csv" > > number,name,description,value > > 1,"wer","tape 2"",5 > > 1,vvv,"hoohaa",2 > > > I want to convert it to tab-separated without

Re: CSV module: incorrectly parsed file.

2008-02-17 Thread 7stud
On Feb 17, 7:09 pm, Christopher Barrington-Leigh <[EMAIL PROTECTED]> wrote: > Here is a file "test.csv" > number,name,description,value > 1,"wer","tape 2"",5 > 1,vvv,"hoohaa",2 > > I want to convert it to tab-separated without those silly quotes. Note > in the second line that a field is 'tape 2"'

Re: CSV module: incorrectly parsed file.

2008-02-17 Thread Paul McGuire
On Feb 17, 8:09 pm, Christopher Barrington-Leigh <[EMAIL PROTECTED]> wrote: > Here is a file "test.csv" > number,name,description,value > 1,"wer","tape 2"",5 > 1,vvv,"hoohaa",2 > > I want to convert it to tab-separated without those silly quotes. Note > in the second line that a field is 'tape 2"'

Re: CSV module: incorrectly parsed file.

2008-02-17 Thread Andrew McNamara
>Here is a file "test.csv" >number,name,description,value >1,"wer","tape 2"",5 >1,vvv,"hoohaa",2 > >I want to convert it to tab-separated without those silly quotes. Note >in the second line that a field is 'tape 2"' , ie two inches: there is >a double quote in the string. The input format is ambi

CSV module: incorrectly parsed file.

2008-02-17 Thread Christopher Barrington-Leigh
Here is a file "test.csv" number,name,description,value 1,"wer","tape 2"",5 1,vvv,"hoohaa",2 I want to convert it to tab-separated without those silly quotes. Note in the second line that a field is 'tape 2"' , ie two inches: there is a double quote in the string. When I use csv module to read th