#NEWLINE# def __init__( self , csvfile ) : #NEWLINE# #INDENT# if six . PY3 : #NEWLINE# #INDENT# csvfile = io . TextIOWrapper ( csvfile , encoding = 'utf-8' ) #NEWLINE# #UNINDENT# self . reader = csv . reader ( self ) #NEWLINE# self . header = next ( self . reader ) #NEWLINE# if six . PY2 : #NEWLINE# #INDENT# self . header = [ x . decode ( 'utf-8' ) for x in self . header ]