set delay in python


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. import time
  2.  
  3. print "Hello ..."
  4. time.sleep(2.5) # wait 2.5 seconds
  5. print "... there!"

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.