multiprocessing

Stdlib — ConcurrencyPython 2.6+Advanced

Process-based parallelism: Process, Pool, Queue, shared memory

Quick Info

Documentation
Official Docs
Python Version
2.6+
Dependencies
None — Python Standard Library
Install
Included with Python

Learn by Difficulty

Quick Example

python
import multiprocessing

print(f"Module: multiprocessing")
print(f"Contents: {dir(multiprocessing)[:10]}")

The multiprocessing module is part of Python's standard library. Process-based parallelism: Process, Pool, Queue, shared memory.

Try in Playground

Tags

stdlibconcurrencyparallelismprocessCPU-bound

Related Items