0

whats the wait command? how do i make it pause?

Cant fiqure out how to make it pause i tried time.sleep but it just says undefine funtion or something.

4th Mar 2018, 6:49 PM
Gavin McIntosh
2 Respostas
+ 2
import time time.sleep()
4th Mar 2018, 7:02 PM
LordHill
LordHill - avatar
0
You have to import the module time as Lord Hill shows. time.sleep(60) will pause the program for one minute (60 seconds). time.sleep(3600) will pause for one hour and so on.
4th Mar 2018, 8:35 PM
Sebastian Keßler
Sebastian Keßler - avatar