This repository contains the online content and code snippets presented in Python in a Nutshell, 4 Ed.
The code snippets will be in the form of a standard script that can be extracted and run using your local Python environment. However, for those book examples that show an interactive session, the snippets in this repository will run the example using doctest to recreate and run these sessions.
You can find more information about doctest in the book content, Chapter 17 - Testing, Debugging, and Optimizing.