Completely updated, the third edition of this popular cookbook offers a collection of recipes to help readers solve a variety of common problems they face when programming with Python. With a focus on Python 3, some recipe coverage includes data structures and algorithms, strings and text, metaprogramming, and testing.