xxxxxxxxxx
# time delay in python script
import time
time.sleep(5) # Delays for 5 seconds.
time.sleep(0.1) # Time in seconds
xxxxxxxxxx
import time
while True:
print("This prints once a minute.")
time.sleep(60) # Delay for 1 minute (60 seconds).