usefullness of pythons' builtin locale functions on Windows

Martin v. Loewis martin at
Wed Aug 7 09:05:55 CEST 2002

moc.q-dnan-p at (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 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".


More information about the Python-list mailing list