Source Code:
(back to article)
import threading def worker(): print("Worker thread") thread = threading.Thread(target=worker) thread.start()
Result:
Report an issue