console output delay

Dominik Kaspar dokaspar at student.ethz.ch
Thu Oct 16 09:29:19 EDT 2003


hello, my question concerns the following code fragment:

print "searching for bla bla...",
[long calculation]
print "found", numberofblablas

when this program is running, the "please be patient message" is not
displayed until the long calculation has actually completed.
is there any way to force the first print statement to be shown on the
console?

dominik




More information about the Python-list mailing list