Source Code:
(back to article)
import threading class MyThread(threading.Thread): def run(self): print("My thread") thread = MyThread() thread.start()
Result:
Report an issue