Chapter 4. Using the threading and concurrent.futures Modules
In the previous chapter, we presented some potential problems that may be solved with parallelism. In this chapter, we will analyze the implementation of the solutions of each problem using the threading
module from the Python language.
This chapter covers the following topics:
- Defining threads
- Choosing between
threading
and_thread
- Using
threading
to obtain the Fibonacci series term for multiple inputs - Crawling the Web using the
concurrent.futures
module