Waiting awhile

Peter Schneider-Kamp nowonder at nowonder.de
Tue Aug 8 04:17:51 EDT 2000


Mike Olson wrote:
> 
> How do I make a function delay for a second or two?  Is there a way

Does this work for you?:

import time
time.sleep(1.5) # sleeps for 1.5 seconds

Peter
--
Peter Schneider-Kamp          ++47-7388-7331
Herman Krags veg 51-11        mailto:peter at schneider-kamp.de
N-7050 Trondheim              http://schneider-kamp.de




More information about the Python-list mailing list