Getting values out of a CSV

CarpeSkium at CarpeSkium at
Fri Jul 13 04:59:53 CEST 2007

How do I access the value in the second row in the first position of a
CSV? Or the 3rd row, in the fifth position?


I'd want to get at "j" and "w". I know I can do

import csv
reader = csv.reader(open("some.csv", "rb"))
for row in reader:
print row[0]

to get the first value in EVERY row, but I don't want that. Thanks for
the help.

More information about the Python-list mailing list