Decorators in Python 🐍 with Example

Sdílet
Vložit
  • čas přidán 12. 09. 2024

Komentáře • 23

  • @aryansinha1818
    @aryansinha1818 Před 4 měsíci +6

    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.

  • @m.s.ssashank3461
    @m.s.ssashank3461 Před měsícem +1

    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.

  • @dkcreator-7xc
    @dkcreator-7xc Před 12 dny

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

  • @graceofgod9623
    @graceofgod9623 Před 9 měsíci +2

    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?

  • @muhammadshahzeb7512
    @muhammadshahzeb7512 Před 7 měsíci +1

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

  • @aryushsingh5724
    @aryushsingh5724 Před 7 měsíci

    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))

  • @saifshamil4690
    @saifshamil4690 Před 9 měsíci +2

    Great sir thanks
    ❤From pak

  • @Anonymous-sh8rq
    @Anonymous-sh8rq Před 9 měsíci +2

    Sir please make a playlist on C++

  • @Sahilsharma-ru4qv
    @Sahilsharma-ru4qv Před 8 měsíci +2

    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 😊😊🚩🚩

  • @user-pm8cc7bk1v
    @user-pm8cc7bk1v Před 9 měsíci +1

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

  • @AliRaza-bs2mb
    @AliRaza-bs2mb Před 9 měsíci +1

    U deserve more subscribes.

  • @manishadabade8587
    @manishadabade8587 Před 2 měsíci

    "Unforgettable explanation, sir

  • @DashingData66666
    @DashingData66666 Před 27 dny

    best

  • @minahilfatima3781
    @minahilfatima3781 Před 9 měsíci +2

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

    • @muhammadshahzeb7512
      @muhammadshahzeb7512 Před 7 měsíci

      haha yeh kia baat hoi maam khana nhi nhi deti😂

    • @minahilfatima3781
      @minahilfatima3781 Před 7 měsíci

      @@muhammadshahzeb7512 kidding ullu....,just tease kr ri k mam extra care krain ,mazaq ki waat lga di

    • @AhmadJutt850
      @AhmadJutt850 Před 2 měsíci

      @@minahilfatima3781 Baita yae na hi mazaq lag raha ha or na hi tease... sirf non sense lag rahi ha

  • @pallavvarshney7065
    @pallavvarshney7065 Před 9 měsíci +1

    Are you kanishk singla cousin??

  • @kuldeepjain3736
    @kuldeepjain3736 Před 9 měsíci

    Are you kanishk singla's cousin?

  • @nikkeepriya258
    @nikkeepriya258 Před 9 měsíci +1

    Sir please make playlist of C++