Answers for "wait in python thread"

3

wait in python

#Wait in python
#Module required - time
import time
#Wait in for the time you put
time.sleep(0.5)
print('Wait in python')
Posted by: Guest on October-04-2020
0

how to pause a thread in python

import time
while(True):
  print("Prints every 10 seconds")
  time.sleep(10)
Posted by: Guest on February-16-2021

Python Answers by Framework

Browse Popular Code Answers by Language