python3 - the hardest hello world ever ?

henning.vonbargen at arcor.de henning.vonbargen at arcor.de
Fri Oct 24 09:19:48 CEST 2008


> Many thanks, it works when setting the LANG environment variable.

BTW:
For Windows users, when running Python command-line programs,
you can also modify the properties of the "cmd.exe" window and
tell windows to use the TT Lucida Console font instead of the raster
font.

Then, before starting the Python program, do a
CHCP 1252
This way the sys.stdout.encoding will be cp1252
(tested with Python 2.4.3 and 2.5.1).



More information about the Python-list mailing list