Wrapping Up

Intuitive Python — by David Muller (29 / 41)

The Pragmatic Programmers
The Pragmatic Programmers
1 min readSep 23, 2021

--

👈 Building with an Alternate Model: asyncio | TOC | Chapter 4 Avoiding Traps 👉

In this chapter, you learned about threads and processes, the concurrent.futures module, the global interpreter lock, and even touched on the relatively new asyncio module. You now have a good working mental model of how concurrency works in Python should you choose that your code needs concurrency.

Now that we have a good understanding of Python’s fundamentals, we can look at common traps Python programs get caught in and how to avoid them.

Footnotes

[70] https://stackoverflow.com/a/419189

[71] https://stackoverflow.com/a/6319267

[72] https://example.com

[73] https://bholley.net/blog/2015/must-be-this-tall-to-write-multi-threaded-code.html

[74] https://docs.python.org/3/library/concurrency.html

[75] https://docs.python.org/3/library/asyncio.html

Copyright © 2021, The Pragmatic Bookshelf.

👈 Building with an Alternate Model: asyncio | TOC | Chapter 4 Avoiding Traps 👉

Intuitive Python by David Muller can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.

Unlisted

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.