Jump to ratings and reviews
Rate this book

Guide to: Learning Python Decorators

Rate this book
Decorators are pretty common in Python. While not strictly necessary, they can reduce code size while enabling control of function input, invocation and output. Many explanations of decorators are brief and leave the reader somewhat confused. This book is an attempt to remedy that. It is based off of popular tutorials given at PyCon and Python user groups. Without fail, attendees mention that "decorators now make sense". Not only do they understand them, but they can write them as well.

68 pages, Kindle Edition

First published January 18, 2012

15 people are currently reading
48 people want to read

About the author

Matt Harrison

3 books16 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
13 (25%)
4 stars
21 (41%)
3 stars
13 (25%)
2 stars
4 (7%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
Profile Image for Maksim.
1 review
June 28, 2013
A really good read! It begins with a nice intro to the python programming styles, functions basics with some interesting examples, an intro to closures, where and how to use them, and finally once you got the needed refresher on the these subjects, it dives into decorators in great detail..

I liked the Alternate Decorator Implementations chapter (Chapter 6), it has some more advanced explanation that will enlighten your overall understanding of decorators.


What I liked the most is that it was short yet very comprehensive and easy to grasp book. I read the entire book in around 2 hours and it has been a well invested time. It is a highly recommended read if you code Python in your daily job or just want to explore the language in more detail.

Profile Image for Rom.
8 reviews
March 1, 2016
I'm not sure how I feel about this. On the one hand I learned some things from this Maybe book, it was well written and got the point across. On the other it felt like I bought something which could have been a long blog post because it took an hour, maybe less to read.
idk, if you have £3.80 to fork over, buy it to support Matt or something.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.