import itertools # ... with open(filename, 'rb') as f: row = next(itertools.islice(csv.reader(f), row_number, row_number+1)) print row[column_number]
import csv mycsv = csv.reader(open(myfilepath)) for row in mycsv: text = row[1]