TerryP bigboss1964 at
Fri Oct 16 23:30:40 CEST 2009

On Oct 16, 9:04 pm, mattia <ger... at> wrote:
> Is there a way to print to an unbuffered output (like stdout)? I've seen
> that something like sys.stdout.write("hello") works but it also prints
> the number of characters!

a suitable object passed that makes I/O behave as if unbuffered would
be handy, if you don't want to stdout.flush() after a print()

More information about the Python-list mailing list