[Tutor] same output on diferent sys.stdout.encodings

Paulino paulino1 at sapo.pt
Thu Feb 8 16:29:45 CET 2007


Yes I have that declaration in my script.

Paulino


> Send Tutor mailing list submissions to
> 	tutor at python.org
>
>   

# -*- coding: iso-8859-1 -*-

If you put this at the first line of your .py files (of course replace iso-8859-1 with whatever
encoding you use) I think this should do the trick.

I hope this helps

Michael


------------------------------



More information about the Tutor mailing list