<csv.DictReader object at 0x7f2b79f128e0> code example
Example: is dictreader scoped in python
import csv
import sys
with open(sys.argv[1], mode='r') as csv_file:
rows = list(csv.DictReader(csv_file))
for row in rows:
print(row)
import csv
import sys
with open(sys.argv[1], mode='r') as csv_file:
rows = list(csv.DictReader(csv_file))
for row in rows:
print(row)