[docs] [issue26116] CSV-module. The example code don't work. Have to be: reader = csv.reader(csvfile, dialect=dialect)
report at bugs.python.org
Thu Jan 14 17:18:30 EST 2016
SilentGhost added the comment:
Vasyl, this line in your code is causing the problem:
for row in readed:
The error reasonably clear states that it's due to your `fieldnames' parameter being non-iterable. Again, this has nothing whatsoever to do with `dialect' argument and documentation of Sniffer.
Please, do not open new issues about this. This is not a issue with csv library or its documentation. Try to use use stackoverflow or python-tutor list to get help on this.
resolution: -> not a bug
stage: -> resolved
status: open -> closed
Python tracker <report at bugs.python.org>
More information about the docs