user26604
0
Q:

python wait for x seconds

import time
#Waits 1 second
time.sleep(1)
15
import time
while True:
    print("This prints once a minute.")
    time.sleep(60) # Delay for 1 minute (60 seconds).
12
import time
x = 1 # Put in whatever seconds you want it to wait
time.sleep(x) 
3

New to Communities?

Join the community