Python Concurrent Module
Thread/process pools — ThreadPoolExecutor, ProcessPoolExecutor, Future. This category documents 9 Python concurrent module entries, and each page gives you the full syntax, the parameter list, the return value, and a runnable example. The entries include: concurrent.futures.ThreadPoolExecutor(), concurrent.futures.ProcessPoolExecutor(), Executor.submit(), Executor.map(), Future.result(), Future.done(), Future.cancel(), concurrent.futures.as_completed(), concurrent.futures.wait(). concurrent.futures.ThreadPoolExecutor() creates a thread pool for executing callables asynchronously. concurrent.futures.ProcessPoolExecutor() creates a process pool for CPU-bound parallel execution. Executor.submit() schedules a callable to be executed and returns a Future. Executor.map() maps a function across iterables in parallel (like built-in map). Future.result() returns the result of the callable when complete. Blocks if not yet done. Concurrent Module belongs to the Concurrency & Networking group alongside Threading Module, Asyncio Module, Subprocess Module, Urllib Module. You can also search across every category from the search page, browse the complete A–Z index, or try any example in the Python playground.