filmov
tv
Tutorial: Geir Arne Hjelle - Introduction to Decorators: Power Up Your Python Code

Показать описание
Presented by:
Geir Arne Hjelle
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. You will learn how a single line sometimes can transform your code: add authentication to your website, write a class for you, or even JIT-compile your long-running calculations.
Geir Arne Hjelle
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. You will learn how a single line sometimes can transform your code: add authentication to your website, write a class for you, or even JIT-compile your long-running calculations.
Tutorial: Geir Arne Hjelle - Introduction to Decorators: Power Up Your Python Code
TUTORIAL / Geir Arne Hjelle / Introduction to Decorators: Power UP Your Python Code
Tutorials - Geir Arne Hjelle: Introduction to Decorators: Power Up Your Python Code
Geir Arne Hjelle - Plugins: Adding Flexibility to Your Apps - PyCon 2019
Geir Arne Hjelle - Maps, Maps, Maps! | PyData Global 2022
Exploring the New Features of Python 3.13 | Real Python Podcast #223
Python Decorators and Writing for Real Python | Real Python Podcast #1
Solving Advent of Code Puzzles With Python | Real Python Podcast #89
Get Started With Linux Terminal - Code Conversation
Exploring the New Features of Python 3.11 | Real Python Podcast #131
Python: Introduksjon - Steg 1
Python Decorators for Beginners In 5 Minutes!
Exploring Python's Scopes and Closures : A Code Conversation
Halloweenanimasjon del 1
Srikanth - Use pandas in tidy style | PyData Global 2022
Halloweenanimasjon del 3
Package Python Code With pyproject.toml & Listing Files With pathlib | Real Python Podcast #136
Exploring the New Features of Python 3.9 | Real Python Podcast #30
Advent of Code Using Python: Code Conversation
New typing features in Python 3.10 and 3.11 | Typing Summit | PyCon US 2022
Python Tutorial: Itertools Module - zip_longest
TALK / Thomas Jewitt / An Introduction to FastAPI
Talk: Russell Keith-Magee - Snakes in a case: Packaging Python apps for distribution
Talk: Colin Carroll - Getting started with automatic differentiation
Комментарии