Parsing locale specific dates, currency, numbers

Jarek Zgoda jzgoda at o2.usun.pl
Wed Apr 9 14:56:40 EDT 2008


Malcolm Greene pisze:
> The locale module provides the ability to format dates, currency and
> numbers according to a specific locale.
> 
> Is there a corresponding module for parsing locale's output to convert
> locale formatted dates, currency, and numbers back to their native data
> types on the basis of a specified locale?
> 
> In other words, a module that will reverse the outputs of locale on a
> locale specific basis.

There are some attempts in Babel (http://babel.edgewall.org/), but the
devs themselves claim the routines are incomplete. You might want to
check it, though.

-- 
Jarek Zgoda
http://zgodowie.org/

"We read Knuth so you don't have to" - Tim Peters



More information about the Python-list mailing list