Jump to ratings and reviews
Rate this book

Treading on Python Volume 2: Intermediate Python

Rate this book
Do you want to take your Python to the next level?
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. Don't be confused by these. Learn them, embrace them, and improve your code and others.

145 pages, Kindle Edition

First published March 12, 2013

42 people are currently reading
73 people want to read

About the author

Matt Harrison

39 books24 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
23 (35%)
4 stars
23 (35%)
3 stars
13 (20%)
2 stars
4 (6%)
1 star
2 (3%)
Displaying 1 - 3 of 3 reviews
Profile Image for Daniel Greenfeld.
Author 17 books62 followers
March 1, 2014
I first met Matt Harrison years ago when he gave a great tutorial on decorators and functions at the Southern California Linux Exposition. In less than an hour he managed to get a packed room understanding and writing their own decorators. I took copious notes, and wished there was a book he wrote that I could reference.

Fortunately, this is that book. ;-)

Matt starts with the functional built-ins of Python such as lambda, filter, map, reduce, adds in recursion, then tops it off with list, set, and dict comprehensions. It's great stuff and he explains it well.

The next part of the book delves into iteration and generators. If you know anything about Python's functional capabilities, you know this builds pretty much right off the first part. For me, I found this made the book feel like it built upon itself in a clever, conceptual sort of way.

Finally, the last part is a really nice piece on decorators, which means functions and more functions!

All in all I really liked this book and learned from it. If you have at least a basic understanding of Python and are interested in the language, you owe it to yourself to get this book.
Profile Image for Wanda.
169 reviews6 followers
June 19, 2017
Includes excellent examples with fairly comprehensive explanations for a wide variety of language features. Special care is taken to highlight the differences between Python 2 and Python 3, especially that some of the features which are available in Python2 are sometimes vastly different in behaviour (lazy methods rather than producing sequence upfront), implementation (map as built-in function VS. Built-in class), or location (moved from standard libraries). The only section that could benefit from further elucidation is that of Chapter 14 - Alternate Decorator Implementations.
Profile Image for Ramesh.
28 reviews2 followers
December 25, 2013
Very intelligible explanation of closures and decorators, and their use.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.