Posted By

stavelin on 09/21/10


Tagged

time python delay sleep


Versions (?)

set delay in python


 / Published in: Python
 

URL: http://www.daniweb.com/forums/thread58995.html

  1. import time
  2.  
  3. print "Hello ..."
  4. time.sleep(2.5) # wait 2.5 seconds
  5. print "... there!"

Report this snippet  

You need to login to post a comment.