[Tutor] carriage return on windows

R. Alan Monroe amonroe at columbus.rr.com
Sun Jan 30 03:18:23 CET 2005


> print "Percent completed:" + str(percent) + "\r"

Print forces a newline.
Try sys.stdout.write instead.

Alan



More information about the Tutor mailing list