What are Decorators in Python? 2MinutesPy

preview_player
Показать описание
#decorators #decorator #decoratorinpython #python #pythonprogramming #2minutespy

🖐Hey, want to know about decorators in Python?

🐍 In this video, we're covering a powerful topic "Decorators in Python" – a super handy tool to add extra functionality to the functions or methods without directly changing their source code.

What are decorators and how to use decorators in Python programs - all these questions are demystified in this video.

More 2 Minutes Python Tutorial:

@2MinutesPy
Рекомендации по теме
Комментарии
Автор

This is better than gold! Clearly explained. No BS.

Hoxle-
Автор

I've worked with decorators and used them in my Python programs, there are several built-in decorators also that can ease your work. Great one...

maxpythoneer
Автор

This channel is just great! No talking around, just clear and understandable knowledge in just 2 minutes. Thank you!

sveneFX
Автор

Another amazingly simple, yet clear, and most impressively - concise explanation of a technical topic from this channel. Thank you and please keep making more!

SunsetofMana
Автор

Great job. Keep producing the great stuff.

skbabasaba
Автор

I remember asking for this topic. Just wanted to thank you, got it perfectly!

juanmanuelmillansanchez
Автор

Wonderfully explained, well done my friend!

robertodelgado
Автор

So much easier than the docs for beginners!!

abdalla
Автор

Please make a video on Concurrency:
How do you achieve concurrency in Python? Please your explanation is so good !

sudhritiswaransinha
Автор

really a good explanation every second worth

MuhammadShafi-cn
Автор

I saw your response of someone asking why do you need the wrapper function. I still don’t understand why you couldn’t just place everything in the wrapper function just inside the scope of log_function(func) and return func()

cyberlando
Автор

Great explanation. Worth it more views

emilmemmedsoy
Автор

Why do I need a wrapper in my decorater function? What is the principle behind the wrapper?

DiscordHomeOffice
Автор

hey shouldn't the numbers be 16 and 50? it looks like the order of the decorators were the other way around :/

emasa
Автор

Let’s say a better way of writing helpers.

kwameadoko
Автор

This all has been copy pasted from the chat gpt result
great

DashingData