International characters and Python's string functions on Linux

Klaus Alexander Seistrup kas at
Sat Aug 7 07:13:18 CEST 1999

Alexander Staubo wrote:
Beautiful name you've got there!  O:-)

>     from _locale import *
> ImportError: No module named _locale
> >>> 
> This is Slackware Linux 2.2/libc6. Should I configure Python with some 
> kind of magic parameter for the locale stuff to work?

Go to the Modules directory of your python source tree, then edit the Setup
file to include the _locale module.


···[ Magnetic Ink ]················································· ><> ···
···[ Key fingerprint: 2E37 EAED F848 815B 050A FBAA 8F68 DD66 B4B3 7EC4 ]···

More information about the Python-list mailing list