Wrapping Up

You’ve now completed a tour of selections from Python’s standard library: you used collections.defaultdict and collections.namedtuple to level up your usage of the built-in types tuple and dict, created temporary workspaces using tempfile, delegated calls to other programs with subprocess, wrote SQL from within Python with sqlite3, and even profiled your code with cProfile. You’ve covered a lot of ground!

You are well prepared to move on to another important subject in any programming language: concurrency. In the next chapter, we’ll focus on how to run Python code concurrently with its provided concurrency tools.

Get Intuitive Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.