sleep() function, perhaps.

Ryan Spencer jeder at earthlink.net
Tue Nov 25 00:26:25 EST 2003


Hello Everyone, 

	I want to have a row of periods, separated by small, say, .5 second
intervals between each other. Thus, for example, making it have the
appearance of a progress "bar". 

[code]
import time

sleep(.5)
print "."
sleep(.5)
print "."
[end code]

But, it would (with those .5 second intervals)
print out much like the following.

.
(pause)
.
(pause)

I would rather those periods be on a single line, not printing on a new
line each time.

Any suggestions?

Thank you in advance,
~Ryan





More information about the Python-list mailing list