CSV methodology

Cameron Simpson cs at zip.com.au
Mon Sep 15 01:28:03 CEST 2014


On 14Sep2014 01:56, rusi <rustompmody at gmail.com> wrote:
>On Sunday, September 14, 2014 2:09:51 PM UTC+5:30, Cameron Simpson wrote:
>
>> If you have a nice regular CSV file, with say 3 values per row, you can go:
>
>>    reader = csv.reader(f)
>>    for row in reader:
>>        a, b, c - row
>
>I guess you meant:  a, b, c = row
>?

Yeah :-(

Cheers,
Cameron Simpson <cs at zip.com.au>



More information about the Python-list mailing list