tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code2:31:33

TUTORIAL / Geir Arne Hjelle / Introduction to Decorators: Power UP Your Python Code

PyCon US ↗

From the creator

Python supports functions as first-class objects. This means that functions can be assigned to variables, and passed to and from other functions, just like any other object in Python. One powerful application of this is the decorator syntax, which makes it easy to apply one function to another at compile time. Decorators offer a simple and readable way of adding capabilities to your code. This tutorial will teach you how decorators work, and how to create your own decorators. Being comfortable with using and creating decorators, will make you a more efficient Python programmer.

Published 2021-06-10 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code