Threading in Python
Jan 25, 2018, 09:00 (0 Talkback[s])
(Other stories by Reuven M. Lerner)
How to Help Your Business Become an AI Early Adopter
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.