Start a free 7-day trial to check out our newest course, WordPress Basics!
Join the Treehouse affiliate program and earn 25% recurring commission!
✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python
Bummer! You must be logged in to access this page.
Decorators in Python are a common way of wrapping repeated functionality around your functions, methods, and classes. They're also one of the trickier things to learn how to build yourself. Let's see how to construct our own decorators and learn a bit about how Python handles functions, scope, and closures.
Besides teaching Python, Kenneth Love is a husband and father. He created a few popular Python libraries, worked at most levels of the web stack, and was the Creative Director of a newspaper. He likes board games, whiskey, activism, and dry humor.