33282 (3) [Avatar] Offline
#1
with open(filename, 'rt') as csvfile:

instead of
with open(filename, 'rb') as csvfile:


and

csvreader.__next__()

instead of
csvreader.next()