Printing to console (No Scroll)
Totte Karlsson
mtk at qm.com
Wed Jan 14 12:52:37 EST 2004
Hi,
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):
time.sleep(1)
print `10-second` +" seconds"
thanks
/totte
More information about the Python-list
mailing list