Python Forum

Full Version: Why is it wrong? Ask for help!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
import csv

filename='sitka_weather_07-2014.csv'#The file is not wrong
with open(filename) as file:
	reader=csv.reader(file)
	header_row=next(reader)

	for index,column_header in emumerate(header_row):
		print(index,column_header)
Error:
NameError: name 'emumerate' is not defined
emumerate -> enumerate
solved. Thank you
I didn't find it...