issue with CVS module

mm0fmf none at invalid.com
Fri Mar 11 16:04:46 EST 2016


On 11/03/2016 20:32, Fillmore wrote:
> myReader = csv.reader(csvfile, delimiter='\t',quotechar='')

 From reading that the quotechar is null. You have a single quote and 
single quote with nothing in the middle.

Try this:

myReader = csv.reader(csvfile, delimiter='\t',quotechar="'")

i.e doublequote singlequote doublequote

or the other way

myReader = csv.reader(csvfile, delimiter='\t',quotechar='"')

I haven't tried this, so it may be nonsense.




More information about the Python-list mailing list