sys.stdout
Sébastien Boisgérault
Sebastien.Boisgerault at gmail.com
Fri Sep 9 04:48:05 EDT 2005
Hi,
The sys.stdout stream behaves strangely in my
Python2.4 shell:
>>> import sys
>>> sys.stdout.write("AAAA")
>>> sys.stdout.write("BBBB\n")
BBBB
>>> sys.stdout.write("CCCC\nDDDD")
CCCC
>>> sys.stdout.flush()
[...nothing...]
Have you ever seen sys.stdout behave like that ?
Any idea what is wrong with my Python2.4 install
or Linux (Mandrake 10.0) system ?
Cheers,
Sébastien
More information about the Python-list
mailing list