Answers for "python delay command for x seconds"

11

delay time python

import time

time.sleep(5) # sleeps for 5 seconds
Posted by: Guest on June-16-2020
4

python wait for x seconds

import time
x = 1 # Put in whatever seconds you want it to wait
time.sleep(x)
Posted by: Guest on July-19-2020

Python Answers by Framework

Browse Popular Code Answers by Language