concurrent.futures — Manage Pools of Concurrent Tasks — PyMOTW 3
The concurrent.futures modules provides interfaces for running tasks using pools of thread or process workers. The APIs are the same, so applications can switch between threads and processes with minimal changes.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.