In Python, calling
temp = open(filename,\'r\').readlines()
results in a list in which each element is a line in the file. It\'s a little st
import csv with open(filename) as f: csvreader = csv.reader(f) for line in csvreader: print(line[0])