Decorators in Python 🐍 with Example

preview_player
Показать описание
00:00 – Introduction
01:21 – definition of decorators
02:27 – example
05:39 – short trick

In this video, we dive deep into one of Python's most powerful and elegant features: decorators. Whether you're a beginner or looking to sharpen your Python skills, this tutorial is for you!

► Python For Beginners (Complete Playlist):

Other Subject-wise Playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
►Computer Networks :
►Design and Analysis of algorithms (DAA):
►Database Management System:
► Theory of Computation
►Artificial Intelligence:
►Computer Architecture:
►Operating System:
►Structured Query Language (SQL):
►Discrete Mathematics:
►Compiler Design:
►Number System:
►Cloud Computing & BIG Data:
►Software Engineering:
►Data Structure:
►Graph Theory:
►Programming in C:
►Digital Logic:
► Class XI Computer Science(Full Syllabus)
► Microprocessor Playlist:

---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
#python #pythonprogramming
Рекомендации по теме
Комментарии
Автор

From operating systems to Python, from acing interviews and securing the first job to now switching companies — both students and you have come a long way, Sir. Thank you Sir for OS, DBMS, SQL, CN and now this python concept.

aryansinha
Автор

Sir aap her topic ko bahut ache se clear krke btate ho thankyou so much sir..bilkul clear ho gya ye topic

dkcreator-xc
Автор

Multiply two number but if second number is zero multiply by 1

def check_multi_zero(mul):
def inner(a, b):
if b==0:
b=1
return mul(a, b)
return inner

@check_multi_zero
def mul(a, b):
return a*b

print(mul(4, 0))

aryushsingh
Автор

This was the first concept which i took many hours to understand, but tbh u explained very well

muhammadshahzeb
Автор

Assume the candidate keys for a relation schema R(A, B, C, D, E) as {A, B}, {A, C}, {C, D}, and {A, B} is chosen as the Primary key for R. Which of the following is true?

A is non-key attribute
C is non-prime attribute
E is key attribute
None of the above

Sir ans pls?

graceofgod
Автор

00:01 Decorators in Python add functionality to existing functions.
00:50 Decorators in Python add functionality to existing functions.
02:15 Decorators in Python take a function as an argument for customization.
02:58 Decorators in Python allow you to modify the behavior of a function.
03:40 Decorators in Python wrap original functions for additional functionalities
04:27 Understanding parameter passing and transaction initiation in decorators
05:13 Decorator calls original function and can be called directly using '@' symbol
05:55 Decorators in Python simplify function enhancements
Crafted by Merlin AI.

m.s.ssashank
Автор

very very very thank you sir , i was facing a lot of doubts about this topic , after watching this video all doubts cleared . jai shree ram sir 😊😊🚩🚩

Sahilsharma-ruqv
Автор

sir if i follow this playllist then is it enough for placement?

DIKSHAGUPTA-fy
Автор

Ooo sir apko Kiya hwa itny weak ku ho gy??! 😮 Madam Khana ni dyti ?!! Ur student from Pakistan

minahilfatima