should do the work =)
was testing on your example
with open(csv_file, "r") as file: reader = csv.DictReader(file) for row in reader: print(row)