console output delay

Terry Reedy tjreedy at udel.edu
Thu Oct 16 12:02:38 EDT 2003


"Dominik Kaspar" <dokaspar at student.ethz.ch> wrote in message
news:62e9c66e.0310160529.7774f6bd at posting.google.com...
> 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?

did you try leaving off the comma on the first line?






More information about the Python-list mailing list