parse a csv file into a text file

Mark Lawrence breamoreboy at
Thu Feb 6 01:50:57 CET 2014

On 06/02/2014 00:46, Tim Chase wrote:
> On 2014-02-05 16:10, Zhen Zhang wrote:
>> import csv
>> file = open('raw.csv')
> Asaf recommended using string methods to split the file.  Keep doing
> what you're doing (using the csv module), as it attends to a lot of
> edge-cases that will trip you up otherwise.  I learned this the hard
> way several years into my Python career. :-)


My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

More information about the Python-list mailing list