python thread wait code example
Example 1: python sleep
import time
print("Print now")
time.sleep(4.2)
print("Printing after 4.2 seconds")
Example 2: how to pause a thread in python
import time
while(True):
print("Prints every 10 seconds")
time.sleep(10)