Printing to console, no scroll

Totte Karlsson mtk at
Wed Jan 14 03:05:20 CET 2004

How can I print to the console without having it scrolling to a new line for
each print statement?
I want to print a count down in the console, but for each count it scrolls
the screen (of course).

 Is there another way?

Here is the simple script for now

print "Closing window in :"
for second in range(10):
    print `10-second` +" seconds"


More information about the Python-list mailing list