import csv path = 'a.csv' fp = open(path,'r') reader = csv.DictReader(fp) for row in reader: print( row )