pynut4

Online Content and Code Snippets for Python in a Nutshell, 4 Ed.

Image

Published by O’Reilly Media Inc.

This repository contains the online content and code snippets presented in Python in a Nutshell, 4 Ed.

Online Chapters

Code Snippets

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.