PDA

View Full Version : [SOLVED] Trying to figure out pauses



viMitch
April 12th, 2010, 11:46 AM
At the moment I am trying to learn python (Only just started :P)
I am trying to write my own little script but in a part of the script i want to pause for a small amount of time. Does anyone know how I would do this? :)

Thanks.

heikaman
April 12th, 2010, 11:49 AM
import time
time.sleep(1)

viMitch
April 12th, 2010, 11:57 AM
Thanks alot!
Now it won't flood the screen with checks :)

Edit: Worked great! Now my computer can make me a cup of tea ;) lol