codecs

André Malo auch-ich-m at g-kein-spam.com
Tue Nov 15 07:22:50 EST 2005


* TK <merman at o2online.de> wrote:

> sys.stdout = codecs.lookup('utf-8')[-1](sys.stdout)
> What does this line mean?

"Wrap stdout with an UTF-8 stream writer".
See the codecs module documentation for details.

nd



More information about the Python-list mailing list