Answers for "how to wait for a few seconds and then execute a statement in python"

19

python delay

>>> import time
>>> time.sleep(3) # Sleep for 3 seconds
Posted by: Guest on May-11-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

Code answers related to "how to wait for a few seconds and then execute a statement in python"

Python Answers by Framework

Browse Popular Code Answers by Language