usefullness of pythons' builtin locale functions on Windows

Martin v. Loewis martin at v.loewis.de
Wed Aug 7 03:05:55 EDT 2002


moc.q-dnan-p at p-nand-q.com (Gerson Kurz) writes:

> Thanks, that works. Note that the example in the helpfile explicitly 
> says
> 
> >>> locale.setlocale(locale.LC_ALL, 'de') # use German locale
> 
> (See http://www.python.org/doc/current/lib/module-locale.html the
> example near the bottom). Bug report?

The comment should be amended "(consult operating system manual for
the precise locale name)" or some such.

I recommend that you use the line "# use user's preferred locale".

Regards,
Martin




More information about the Python-list mailing list