Threading in Python
Jan 25, 2018, 09:00 (0 Talkback[s])
(Other stories by Reuven M. Lerner)
Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js
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.