Chapter 6. Parallel Processing
In the previous chapter, we created a text mode utility program and you learned about several of Python's built-in packages. In this chapter, we're going to see how to use both the high-level concurrent.futures
package and the lower-level multiprocessing package to help us write parallel programs. Both are part of the Python standard library.
We will cover the following two topics in detail:
- Using the
concurrent.futures
package - Using multiprocessing packages