import csv, sys
filename = 'some.csv'
with open(filename, 'rb') as f:
    reader = csv.reader(f)
try:
    for row in reader:
        print(row)
except csv.Error as e:
    pass
parse comma separated csv file with quotes in python