[issue1818] Add named tuple reader to CSV module

Skip Montanaro report at bugs.python.org
Sun Mar 8 20:13:26 CET 2009


Skip Montanaro <skip at pobox.com> added the comment:

I don't know how NamedTuple objects work, but in many situations you
want the content of the CSV file to drive the output.  I would think
you would use a technique similar to my DictReader example to tell
the NamedTupleReader the fieldnames.  For that you need a fieldnames
argument.

----------
message_count: 24.0 -> 25.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1818>
_______________________________________


More information about the Python-bugs-list mailing list