print()

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


On Oct 16, 9:04 pm, mattia <ger... at gmail.com> 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!

http://docs.python.org/3.1/library/functions.html#print

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