24 Aug
2001
24 Aug
'01
8:04 p.m.
Peter Bengtsson writes:
.... from sys import stdout stdout.flush() ....
It works good. However, I'll have to do this stdout python business each time I want to print something? Impatient people have to pay a price :-)
I think, I remember that "python" has an argument and an environ variable that tell Python to keep "stdout" unbuffered even if it is not a terminal. Call "python -h" to see its options. Dieter