[Python-ideas] CSV api with conversion
merwok at netwok.org
Mon Apr 12 12:24:57 CEST 2010
This API would be very useful. (I’m using Python right know to filter
hundreds of spreadsheets records. Loving it.)
1) Name the argument “converters” (it’s an iterable);
2) Make it a positional argument.
Related wish: Add an argument for a row factory. Default would be list,
and use cases include using tuple, a named tuple class, or any custom
Adding converters and rowfactory would remove the need for looping over
CSV reader objects and manually using row and cell converters.
More information about the Python-ideas