How can I make my program wait 2 seconds before continuing?
You can make the program pause for a specified amount of time by importing time at the top of the script and then running time.sleep(seconds) wherever you want to wait.
import
time
time.sleep(seconds)
@mat1 I would suggest doing from time import sleep in that case, if you are only using the sleep function
from time import sleep
You can make the program pause for a specified amount of time by
import
ingtime
at the top of the script and then runningtime.sleep(seconds)
wherever you want to wait.@mat1 I would suggest doing
from time import sleep
in that case, if you are only using the sleep function