Threading in PythonJan 25, 2018, 09:00 (0 Talkback[s])
(Other stories by Reuven M. Lerner)
The basic idea behind threading is a simple one: just as the computer can run more than one process at a time, so too can your process run more than one thread at a time. When you want your program to do something in the background, you can launch a new thread. The main thread continues to run in the foreground, allowing the program to do two (or more) things at once.