Treading on Python is designed to bring developers and others who are anxious to learn Python up to speed quickly. Not only does it teach the basics of syntax, but it condenses years of experience. You will learn warts, gotchas, best practices, and hints that have been gleaned through the years--in just days.
Python is easy to learn. You can learn the basics in a day and be productive with it, but there are more-advanced constructs that you will eventually run across if you spend enough time with it. These constructs, while not necessary per se, allow you to be more succinct, to re-use code, and to think about code in a different way. In this audiobook, you will learn how the constructs work and when to use them, receive real-life examples from the standard library, and more. Write Python like the masters.
"Could have been much better"
Decorators are pretty common in modern Python. While not strictly necessary, they can reduce code size while enabling control of function input, invocation, and output. They also enable separation of responsibility and DRY. Many explanations of decorators are brief and leave the listener somewhat confused. This book is an attempt to remedy that. It is based on popular tutorials given at PyCon and in Python user groups.
Understanding iteration enables understanding generators and easily creating objects that can iterate. This guide will explain the theory behind iteration in Python and teach best practices for generator creation and use. Do not beware the yield; rather, embrace the power it provides.
Functional programming is a somewhat hidden aspect of Python. Though it supports many of the functional constructs, the style is not widely adopted. On the flip side, functional programming appears to be making a resurgence because of the benefits it can provide. Comprehensions are an alternative Pythonic construct for programming in a similar manner. These are features of Python that are commonly used instead of their functional counterparts.
Get the lowdown on unittest and doctest as well as some doctest gotchas. This book is a portion of Treading on Python Vo1. That book covers beginning Python and syntax. If you are interested in learning Python and testing, check that book out. Otherwise, this book provides a brief introduction to testing with unittest and doctest.