Guide To: Learning Python Decorators
Python Guides
Failed to add items
Sorry, we are unable to add the item because your shopping cart is already at capacity.
Add to basket failed.
Please try again later
Add to wishlist failed.
Please try again later
Remove from wishlist failed.
Please try again later
Adding to library failed
Please try again
Follow podcast failed
Unfollow podcast failed
£0.00 for first 30 days
LIMITED TIME OFFER
Get 3 months for £0.99/mo
Offer ends 29 January 2026 at 11:59PM GMT.
Prime members: New to Audible? Get 2 free audiobooks during trial.
Just £0.99/mo for your first 3 months of Audible.
1 bestseller or new release per month—yours to keep.
Listen all you want to thousands of included audiobooks, podcasts, and Originals.
Auto-renews at £8.99/mo after 3 months. Cancel monthly.
Pick 1 audiobook a month from our unmatched collection - including bestsellers and new releases.
Listen all you want to thousands of included audiobooks, Originals, celeb exclusives, and podcasts.
Access exclusive sales and deals.
£8.99/month after 30 days. Renews automatically.
Buy Now for £6.99
-
Narrated by:
-
John Edmondson
-
By:
-
Matt Harrison
About this listen
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.
©2012 Matt Harrison (P)2015 Matt Harrison
No reviews yet