Ask coding questions

← Back to all posts
How do you use a wait command in Python 2.7?
PythonCoder100

How do you use a wait command in Python 2.7? Please help.

Voters
NathanielDuaine
PythonCoder100
Comments
hotnewtop
amasad

Do you mean to wait for a certain time period? You can use time.sleep

L1LY57

Input time, time.sleep(X). x=secs

ColePayneSexton

Import the module time and use
time.sleep(number of seconds)

Or in turtle you can use the ontimer method (only works in turtle)