You want to write a program to call a bound function in a new thread. How do you do this?
Run this program (e.g.,
import _thread as thread class mighty: def cool(): print("Cool.") def contint(): print("Hello!") if name == "main": foobar = thread.start_new_thread(mighty.cool, () ) print("thread finished…exiting")