PEP 305 - CSV File API

John Roth johnroth at
Mon Feb 3 15:28:16 CET 2003

"John Machin" <sjmachin at> wrote in message
news:c76ff6fc.0302030215.82eb073 at
> Carlos Ribeiro <cribeiro at> wrote in message
news:<mailman.1044231844.17120.python-list at>...
> > And last, but not least, the CSV library has to take into account
other things
> > that happen to be problematic, and that are locale-related:
> >
> > - reading dates from a CSV file
> Certainly dates are a problem in that they are presented differently
> to users in different locales, and most people don't bother to use the
> ISO standard when writing to a file --- however, in what way is
> reading dates from a CSV-format file any different to reading them
> from any other format?

It's not particularly different. What is needed is the ability to
the necessary parameters with a date column to do the application
dependent "correct" transformation, based on the available date

Otherwise you've got to go through a second cleanup step.

John Roth

More information about the Python-list mailing list