PyMOTW: multiprocessing, part 1
Originally posted
· 1 min read
The multiprocessing module includes a relatively simple API for dividing work up between multiple processes. It is based on the API for threading
, and in some cases is a drop-in replacement. Due to the similarity, the first few examples here are modified from the threading examples. Features provided by multiprocessing but not available in threading are covered later.