What is Monkey Patching? | Python Interview Questions | MySirG.com

Sdílet
Vložit
  • čas přidán 12. 09. 2024
  • Python Interview Question Series for campus placement preparation, job interviews and concept building. MySirG bring this series in collaboration with Newton school.
    --------------------------------------Newtonschool.co------------------------------------------
    Know more about Newton School: bit.ly/newtons...
    Register for full-stack course: bit.ly/RegisterNS
    Check out Newton School Launchpad: bit.ly/NSlaunc...
    Register on Newton School Career Launchpad: bit.ly/career-...
    Know more about Newton School Career Launchpad: bit.ly/NScaree...
    --------------------------------------Newtonschool.co------------------------------------------
    Connect with me
    ------------------------------
    MySirG Instagram- / mysirg
    Shahid Instagram- / shahidify
    My Twitter- / @sshukla_manit
    MySirG Facebook- / mysirg
    How to access Free or Paid learning videos?
    -----------------------------------------------------------------------
    Visit: MySirG.com
    Visit: premium.mysirg...
    Most Valued course- Python for beginners, Javascript in depth
    How to join coaching in Bhopal?
    ---------------------------------------------------
    Visit saurabhshuklacl...
    Popular Searches
    ----------------------------
    Python by Saurabh Shukla Sir
    Python by Saurabh Sir
    Javascript
    GUI Python
    Web Python
    Full Stack development
    C Language
    C++ Language
    Data Structure
    PHP-MySQL
    DBMS
    Java
    Android
    Like, Comments, Share and SUBSCRIBE

Komentáře • 21

  • @pujabiswal3378
    @pujabiswal3378 Před 4 lety +2

    Sir plz gives more interview questions and your simplely describe answers in this series

  • @mrankushtechnical
    @mrankushtechnical Před 4 lety +3

    I don't know why people dislike good videos.

  • @dashingboy5586
    @dashingboy5586 Před 4 lety +4

    First one who watch it

  • @Anjaliartistp
    @Anjaliartistp Před 4 lety +1

    Thankyou so much for this video

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

    Thanks sirji

  • @kritikaarora9607
    @kritikaarora9607 Před 4 lety

    Q2 can we 🐒 patch the module function in my utility module?
    Q3 difference between 🐒 patch , function and methods overriding?

  • @snehasishmohapatra597
    @snehasishmohapatra597 Před 2 lety

    Sir can you please let me know is it the same concept in C++ with virtual functions and vptr ???
    Is it dynamic polymorphism in python???

  • @golupandey3872
    @golupandey3872 Před 3 lety +2

    I want job with tarning once more in python language

  • @amanmishra98apr
    @amanmishra98apr Před 4 lety

    Best explanation of monkey patching

  • @mukundachlerkar8021
    @mukundachlerkar8021 Před 2 lety

    Nice perception.

  • @statusloveking5574
    @statusloveking5574 Před 4 lety +1

    Sir Newton school me admission kaise le sir please ispe uk video banaaiye

  • @kritikaarora9607
    @kritikaarora9607 Před 4 lety

    I have a question regarding the example taken in the video :
    Q1 that if suppose a class is defined in some third party python module . And I need to override the functionality of get_data by calling my function in other code created override module . Then is it possible that everytime my function get call inspire of the class get_data method.
    Q2 can we do 🐒 patch a function.

    • @KartikSir_
      @KartikSir_ Před 3 lety

      >>> import math
      >>> math.factorial(5)
      120
      >>> def factorial():
      print('My Function')

      >>> math.factorial = factorial
      >>> math.factorial()
      My Function
      >>> math.factorial(5)
      Traceback (most recent call last):
      File "", line 1, in
      math.factorial(5)
      TypeError: factorial() takes 0 positional arguments but 1 was given
      >>>
      Yes absolutely

    • @kritikaarora9607
      @kritikaarora9607 Před 3 lety

      @@KartikSir_ how to override a class method in the Django project using 🐒 patching

  • @swetaupadhyay5119
    @swetaupadhyay5119 Před 4 lety

    Very good video.

  • @suniljha925
    @suniljha925 Před 4 lety

    Is all programing language are same data structure? Please reply me

  • @devandlajanardhan9632

    Not clarity

  • @zubairusmani6716
    @zubairusmani6716 Před 2 lety

    Zubair Usmani pakistan