Is it possible a intterrupt a python threading, example i want interrupt that thread 30 seconds later.
import threading
import time
def waiting():
print("thread is started")
time.sleep(60)
print("thread is finished")
thread = threading.Thread(target=waiting, name="thread_1")
thread.start()