Как извлечь клавиши из Dictreader Python
>>> import csv
>>> with open('test.csv') as f:
reader = csv.DictReader(f)
print reader.fieldnames
['first_name', 'last_name', 'email', 'mobile']
Obnoxious Ocelot