Scrolling through the file can be done as follows:
with open('path/to/my/file.csv', 'r') as f: for line in f: puts line
But if you want to convert the encoding of the whole file, you can also call:
$ iconv -f Windows-1250 -t UTF8 < file.csv > file.csv
Edit: So where is the problem?
with open('path/to/my/file.csv', 'r') as f: for line in f: line = line.decode('windows-1250').encode('utf-8') elements = line.split(",")
Dawid fatyga
source share