sys.stdout
Sébastien Boisgérault
Sebastien.Boisgerault at gmail.com
Fri Sep 9 06:42:54 EDT 2005
Fredrik Lundh a écrit :
> > what "python shell" are you using, and what platform are you running
> > it on? here's what I get on a standard Unix console:
> >
> >>>> import sys
> >>>> sys.stdout.write("AAAA")
> > AAAA>>> sys.stdout.write("BBBB\n")
> > BBBB
> >>>> sys.stdout.write("CCCC\nDDDD")
> > CCCC
> > DDDD>>>
>
> btw, what does
>
> >>> sys.stdout.encoding
>
> print ?
>
> </F>
>>> sys.stdout.encoding
'ISO-8859-15'
SB
More information about the Python-list
mailing list