multiprocessing — Manage Processes Like Threads — PyMOTW 3

The multiprocessing module includes an API for dividing work up between multiple processes based on the API for threading . In some cases multiprocessing is a drop-in replacement, and can be used instead of threading to take advantage of multiple CPU cores to avoid computational bottlenecks associated with Python’s global interpreter lock.

Read more…

This post is part of the Python Module of the Week series for Python 3. See for more articles from the series.