parse a csv file into a text file

Asaf Las roegltd at gmail.com
Wed Feb 5 23:17:40 EST 2014


On Thursday, February 6, 2014 6:09:52 AM UTC+2, Tim Chase wrote:
> On 2014-02-05 19:59, Asaf Las wrote:
> From your code,
>   list_t = str_t.split(',')
> It might have been a short-hand for obtaining the results of a CSV
> row, but it might be better written something like
>   list_t = csv.reader([str_t])
> -tkc

i was too fast to reply. you are correct!

/Asaf



More information about the Python-list mailing list