Number of cells, using CSV module

Skip Montanaro skip at pobox.com
Thu May 16 15:08:29 EDT 2013


> So rather than
>>a
>>b
>>c
>>d
>>e
>>f
> I would get [a, b, c, d, e, f]

all_items = []
for row in reader:
    all_items.append(row[0])

Skip



More information about the Python-list mailing list