Short timing loops (For your information)

lf11 at lf11 at
Tue Mar 14 18:49:13 CET 2000

To the lurkers and anyone else who hasn't posted a message on this--

If you want to make very short 'sleeps' in python, use a fractional value in time.sleep().  This is really 'duh!', but I've spent the past two hours trying to find this out!



import time

print "About to sleep for 0.3 seconds..."
print "Done"


More information about the Python-list mailing list