Starting a thread for every task is wasteful when there are thousands of tasks, and managing queues, results and errors by hand is tedious. concurrent.futures packages the whole pattern. A thread pool is a fixed number of worker threads that take tasks from an internal queue. You hand it functions, and it hands you back a Future, a promise of a result. This is the tool to reach for first when you want threads.
More lessons in Complete Python Programming