#20- Constructor With Inheritance In Python- Python Tutorials For Beginners

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024
  • In this video, I will explain how we can call constructor when we have inheritance implemented in classes. In this video, we will take an example of multilevel inheritance and we will be using super() function as well to call BaseClass constructor.
    What is Constructor In Python
    • #17 How To Create Clas...
    How to implement inheritance in python
    • #18 Inheritance In Pyt...
    Python Series
    • Python Tutorials For B...
    All Playlist
    / mukeshotwani
    Connect with us:
    Linkedin- / mukesh-otwani-93631b99
    Instagram- / mukeshotwani
    Facebook Group- / 256655817858291
    Facebook Page- / seleniumwebdrivermukesh
    Twitter- / mukeshotwani
    Blog- learn-automatio...

Комментарии • 13

  • @mailakshaysaraswat
    @mailakshaysaraswat 4 года назад +1

    Excellent explanation in normalized manner, I always follow your videos because of its simplicity of explanation.
    Thanks a lot Sir 🙏🙏🙏

    • @Mukeshotwani
      @Mukeshotwani  4 года назад +1

      Thank you Akshay, I am very glad to see this comment.

  • @devikapotnuru4962
    @devikapotnuru4962 3 года назад +1

    Smooth explanation 👍very nice and clear

  • @atulthorat5670
    @atulthorat5670 3 года назад +1

    Thank you Mukesh...!
    Could you please explain why we need two arguments in below statement :
    super(B, self).__init__()

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Hey Atul, can you tell me exact timestamp of video where you are not able to understand.

  • @tihamiqa435
    @tihamiqa435 3 года назад +1

    it is like constructor overriding and also do we have any implicit constructor, like the one in java

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Many programming language share the same concept but with different syntax or keyword.

  • @meetioann
    @meetioann 2 года назад

    what python version is this?

  • @virenderkamboj8654
    @virenderkamboj8654 4 года назад +1

    Thank you :)

  • @iMadeThisThat
    @iMadeThisThat 3 года назад +1

    Hi Mukesh, If you had started or thinking to start the Selenium Python Framework(pytest, Robot) batch (weekend or weekdays), please let me know or post in the WhatsApp group or post here on YT.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Hi Amit, as of now I dont have any online batch for same but will keep you posted once I will start. Please do share ur email .

  • @simplejainankit
    @simplejainankit 3 года назад

    While using super we don't need self