Object Oriented Programming (OOP) In Python - Beginner Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ม.ค. 2025

ความคิดเห็น • 393

  • @dsdridi5362
    @dsdridi5362 3 ปีที่แล้ว +71

    after 6 weeks of tutorials from different channels, this one is the best, respect ❤🙋‍♂️

    • @patloeber
      @patloeber  3 ปีที่แล้ว +6

      happy to hear this :)

    • @electronpro6347
      @electronpro6347 ปีที่แล้ว

      This one the one I only understand

  • @ciscoserrano
    @ciscoserrano 4 ปีที่แล้ว +91

    This is amazing. I’ve been struggling with these concepts for so long and now I understand!!!! Thank you.

    • @patloeber
      @patloeber  4 ปีที่แล้ว +6

      I'm happy to hear that :)

    • @shekharkumar7905
      @shekharkumar7905 4 ปีที่แล้ว +1

      Same here bro ...

    • @shekharkumar7905
      @shekharkumar7905 4 ปีที่แล้ว +1

      Thanks python eng. Ur explanation is really so amazing

    • @jstdream2u
      @jstdream2u 3 ปีที่แล้ว +1

      I too found your video great. Some people fail when it comes to explaining OOP and it's concepts, but the way that you broke it down and also showed what happens when you do something wrong was not only informative, but EXTREMELY helpful, especially when it comes to grasping the individual concepts as well as the whole. Thanks for taking the time to create the tutorial. 👍

    • @lesserknownfacts7849
      @lesserknownfacts7849 3 ปีที่แล้ว +1

      @@patloeber You tutorials are awesome bro, they are absolutely mindblowing. Could you please tell me which theme are you using in the video? Keep up the great work and have a great day ;)

  • @alexandredelnegro6354
    @alexandredelnegro6354 3 ปีที่แล้ว +30

    You have the gift of teaching, man. Thanks for creating this video and making it available for free.
    +1 follower and fan

  • @imdadood5705
    @imdadood5705 4 ปีที่แล้ว +69

    One of the most underrated TH-cam channels! ❤️

    • @patloeber
      @patloeber  4 ปีที่แล้ว +4

      Thanks a lot :)

  • @unpatel1
    @unpatel1 3 ปีที่แล้ว +73

    Excellent OOP course! This should be the first OOP course for everyone starting in Python OOP. Thank you Python Engineer for such a great explanation of a very difficult topic.

    • @vinodkarnati8012
      @vinodkarnati8012 3 ปีที่แล้ว

      sir i have doubt in this oops consept....I hope you clarify
      in above program parent class is employee ...There is a attribute is only for parent class not to child class,if i give any attribute to parent class ,expecting same attributes for child class without giving the attribute to child class ,if we run program getting error "Attribute missing"how to resolve it

    • @rainwave5
      @rainwave5 3 ปีที่แล้ว

      @@vinodkarnati8012 when you' re defining the __init__(self, parameters): in the child, are you including the super().__init__(parameters) part?

  • @hideweapon1361
    @hideweapon1361 4 ปีที่แล้ว +6

    take it from me, u are the best one who explained oop python in youtube

    • @patloeber
      @patloeber  4 ปีที่แล้ว

      Thanks a lot :) glad it was helpful

  • @TheRealKitWalker
    @TheRealKitWalker 3 ปีที่แล้ว +4

    So concise and precise. That's all that's required to clearly understand the concept and how to apply it effectively.

  • @hansmaier4119
    @hansmaier4119 3 ปีที่แล้ว +5

    I second Francesco. (surprised the last comment is from 9 month ago) This is hands down the best OOP course I have tried. way beyond everything else.
    Truly thought and purposeful. Thanks a million, Engineer

  • @braimahhassanoshiapemhe6430
    @braimahhassanoshiapemhe6430 3 ปีที่แล้ว +8

    This guy is super good, would say this is the best tutorial I've entered on youtube, teaching complex stuff like its ABC. I'm sure gonna recommend your channel to my fellow pythonistas

    • @patloeber
      @patloeber  3 ปีที่แล้ว +1

      thanks, really nice to hear this

  • @eldrigeampong8573
    @eldrigeampong8573 3 ปีที่แล้ว +3

    You are by far the best tutor in the world for OOP. I really enjoyed every bit of this video.

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      Thank you so much!

  • @giaphatjs
    @giaphatjs 4 ปีที่แล้ว +6

    As a student, I've learned a lots from you

  • @qneal78710
    @qneal78710 2 ปีที่แล้ว +3

    Wow, man....I've been going over this video for a week now, just going over and over it. I love this video, it teaches a whole lot better than the book I'm studying from. I just don't think I would have understood OOP without your video. I'm going to continue to go over this at times, just for practice. Thank you for making this video!!!!!!!!!!!!!!!!!

  • @rugmaable
    @rugmaable ปีที่แล้ว +1

    you are absolutely amazing. i am learning python, and I was having a hard time grasping teh concepts of OOP. I am now confident and it makes more sense thanks to you.

  • @mabeleain3320
    @mabeleain3320 ปีที่แล้ว +3

    Fantastic!! Great explanation on OOP and summary of each section is really amazing. Thanks Patrick.

  • @kwang-jebaeg2460
    @kwang-jebaeg2460 4 ปีที่แล้ว +7

    i am so happy to have an opportunity to INHERIT your knowledge :)) always thanks alot !!

    • @patloeber
      @patloeber  4 ปีที่แล้ว +1

      haha good one

  • @suvisinteriors3663
    @suvisinteriors3663 3 ปีที่แล้ว +12

    I can't thank you enough for this amazing lecture, Patrick! I wish you all the very best.

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      thanks a lot :)

  • @StefanoVerugi
    @StefanoVerugi ปีที่แล้ว

    after a few attempts on YT (books and websites are too difficult for me) I understood concepts otherwise stranger, thanks to this video
    you made my day Patrick, really appreciated

  • @sheikhakbar2067
    @sheikhakbar2067 4 ปีที่แล้ว +3

    One of the best videos on OOP I've come across. Thanks a lot for your excellent effort.

    • @patloeber
      @patloeber  4 ปีที่แล้ว

      thank's for watching! glad you like it

  • @zacky7862
    @zacky7862 3 ปีที่แล้ว +1

    The best Python Instructor! I just finished watching the whole course. It helps me improve my skills.
    Thank you!

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      Glad it was helpful!

  • @stefmyt5062
    @stefmyt5062 2 ปีที่แล้ว +1

    Excellent guide. I could really not understand anything using the classic "cat and dog" method of teaching this concept, but your guide really helped me!

  • @abdulkadirduran6297
    @abdulkadirduran6297 ปีที่แล้ว

    this is the best course I have ever seen. This course deserves compensation. Everyone should share. Now I feel like am pro. Thanks Engineer Patrick Loeber.

  • @dastanozgeldi
    @dastanozgeldi 3 ปีที่แล้ว +2

    The best OOP tutorial that has understandable concepts I've ever seen. Thanks for sharing this video!

    • @patloeber
      @patloeber  3 ปีที่แล้ว +1

      Glad it was helpful!

  • @gamingandlinux7089
    @gamingandlinux7089 6 หลายเดือนก่อน

    Best most understandable organized video on oop in python.

  • @manalabas4411
    @manalabas4411 ปีที่แล้ว +1

    The Best ❤️❤️❤️❤️❤️❤️❤️

  • @roshankumargupta46
    @roshankumargupta46 4 ปีที่แล้ว +4

    Dude this is simply awesome! Love the way you explain the concepts :)

    • @patloeber
      @patloeber  4 ปีที่แล้ว

      thanks so much :)

  • @mwesigyenicholas7394
    @mwesigyenicholas7394 ปีที่แล้ว

    Patrick I have just landed on your video but i can't thank you enough bro.
    Thanks a lot man. Very perfect and on point explanation

  • @7999rahul
    @7999rahul 3 ปีที่แล้ว +1

    Your videos are by far the best I've found here. many thanks for your hard work.

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      Glad you like them!

  • @ThespecialOtaku
    @ThespecialOtaku 3 ปีที่แล้ว

    Man been search for some OOP videos for so long and your video is the only i could sit through

  • @christheone248
    @christheone248 2 ปีที่แล้ว

    This is the first time I understood OOP and in a language, I don't even know! Excellent video and explainations!

  • @pekorabestgirl543
    @pekorabestgirl543 2 ปีที่แล้ว

    You got my sub,
    NeuralNine and Patrick Loeber are the only 2 coding channel i have subbed on youtube.

  • @puzzlesolver9088
    @puzzlesolver9088 4 ปีที่แล้ว +6

    Thank you for this crash course! I can't wait for another, more advanced one ;)

    • @patloeber
      @patloeber  4 ปีที่แล้ว +4

      Glad you like it :)

  • @josephomondi629
    @josephomondi629 5 หลายเดือนก่อน

    this is a great tutorial that covers pretty much everything about class. thank you

  • @tundemikail5678
    @tundemikail5678 4 ปีที่แล้ว

    One of the best OOP videos out there. This helps me a lot because i had zero knowledge of OOP and i watched several videos, they all don't make sense until i found yours. You are a good teacher. God bless. You got my subscription.

    • @patloeber
      @patloeber  4 ปีที่แล้ว

      thanks! Happy to hear that :)

  • @kieutrungtran1549
    @kieutrungtran1549 ปีที่แล้ว

    Great OOP. Changed my understanding from -100% to 100%

  • @InsightWeaver
    @InsightWeaver 2 ปีที่แล้ว +1

    Excellent video mate! Keep up the good work, I struggled with OOP but you explained it really well. Thanks a lot !!!

  • @judeleon8485
    @judeleon8485 3 ปีที่แล้ว +3

    Great tutorial. Apart from the content, I like the speed, not too fast not too slow. So, it so easy to follow. I look forward to the next tutorial on advanced OOP in which it would nice if you include things like instantiating one class inside another class and passing one class as argument in another class

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      Glad you enjoyed it!

  • @НиколайНовичков-е1э
    @НиколайНовичков-е1э 3 ปีที่แล้ว

    I have been programming for thirty years. I am now learning Python. I know very well what object oriented programming is, but I want to say that your explanation is very good and should help those who are starting out. And it helped me to get to know Python better.

  • @devworks8787
    @devworks8787 ปีที่แล้ว

    43:44 after all these years understood why super() is being used. Thank you!

  • @vincentong6302
    @vincentong6302 4 ปีที่แล้ว +3

    Crystal clear explanation, thanks for posting this kind of videos, keep it up! You just make learning enjoyable

    • @patloeber
      @patloeber  4 ปีที่แล้ว

      thanks a lot!

  • @TheProblembaer2
    @TheProblembaer2 2 ปีที่แล้ว

    Thank you, worked it through in a day. Now my head explodes. Great tutorial!

  • @NavodaKapukotuwa
    @NavodaKapukotuwa 2 ปีที่แล้ว

    Thanks, Patrick, for clarifying most of the confusion I had from moving from C to Python. Very helpfull crash course.

    • @lepidoptera9337
      @lepidoptera9337 2 ปีที่แล้ว

      How can you be confused by Python if you already know C?????

    • @lepidoptera9337
      @lepidoptera9337 ปีที่แล้ว

      @@mdmd-un2gd Now it's falling into place.

  • @leybourne
    @leybourne 3 ปีที่แล้ว +5

    Absolutely brilliant! I wish I had this video when I first learnt OOP, rather unusually using VB5 (Visual Basic 5 - Power OOPs by Martin Rinehart)! This is one of the best video lessons in any programming language! Great job!

    • @patloeber
      @patloeber  3 ปีที่แล้ว +1

      Glad you enjoyed it!

  • @longnguyenhoang764
    @longnguyenhoang764 3 ปีที่แล้ว +5

    This channel is freaking underrateddddddddddd, you need 1M more views to deverse what you've done

  • @mahfuzrahman5316
    @mahfuzrahman5316 3 ปีที่แล้ว

    watched this on 2X speed! finished in half the time. Thanks for the tutorial. Fastest I have ever learned a concept.

  • @ifeyinwanwabueze8332
    @ifeyinwanwabueze8332 2 ปีที่แล้ว

    This is the best tutorial on OOP I have seen. Thank you so much.

  • @true_tamilan
    @true_tamilan 2 ปีที่แล้ว

    You are one among the very best teachers. I thank you from bottom of my heart.

  • @Zak-l7e
    @Zak-l7e 2 ปีที่แล้ว

    Brilliant way to explain calmly and clearly the class and objects in python. well done and thank you

  • @leoneruri6857
    @leoneruri6857 9 หลายเดือนก่อน

    Excellent tutorial, properly explained and beginner friendly

  • @Ramt33n
    @Ramt33n 7 หลายเดือนก่อน

    Struggled with this concept (OOP) in python for years, could not even grasp the most basics of it for some reason, Only relying on functions to get me going. Sir I wish you None but Success and Growth since you just unlocked a door and I'm excited to explore the possibilities "Python Classes" offer! Salute🙏

  • @BabatopeFagbenle-rk6jy
    @BabatopeFagbenle-rk6jy 11 หลายเดือนก่อน

    I think I am sorry for coming to this party late. What a delivery. You are awesome.

  • @sachar367
    @sachar367 3 ปีที่แล้ว +3

    Perfect in all concepts, Thank you for teaching

  • @gauravpande602
    @gauravpande602 2 ปีที่แล้ว

    This is one of the best tutorials I have seen..too good !!
    Thank You Python Engineer :)

  • @2k8glg
    @2k8glg 3 ปีที่แล้ว +1

    Sir we are thankful for this excellent OOP in python tutorial. This tutorial clears confusing topics for beginner programmers.

  • @slickwillie3376
    @slickwillie3376 3 ปีที่แล้ว

    This is the best video I've seen on the subject. Big thumbs up!

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      Glad you liked it!

  • @breaktheloop9216
    @breaktheloop9216 4 ปีที่แล้ว

    Hey! Just wanna show some support as I found your tuturial is really good! Very comprehensive and clear which really helped me to get familiar with class! Please keep up the good work!

    • @patloeber
      @patloeber  4 ปีที่แล้ว

      Thanks so much! Glad you enjoyed it

  • @letthemknowuncle5399
    @letthemknowuncle5399 3 ปีที่แล้ว

    Good one. was here for some quick reference and that was amazing!

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      happy to hear this!

  • @udayptp
    @udayptp 2 ปีที่แล้ว +1

    Thank you for this amazing and informative helpful video on oops with python topic. This is best on you tube. 😍

  • @MrGhost-do1rw
    @MrGhost-do1rw 2 ปีที่แล้ว

    Excellent lecture. Thank you Patrick

  • @stevejoel8552
    @stevejoel8552 ปีที่แล้ว

    Brother you are the best 👍
    You have decomposed the barrier
    In 15 minutes

  • @hasantao
    @hasantao 2 ปีที่แล้ว

    This was very comprehensive and up to the point. Thank you!

  • @montasirshams1631
    @montasirshams1631 ปีที่แล้ว

    An amazing tutorial for the recap of basics of OOP in python.

  • @tatendamukonoweshuro3008
    @tatendamukonoweshuro3008 2 ปีที่แล้ว

    This is amazing ,best lecturer

  • @canadahq6926
    @canadahq6926 ปีที่แล้ว

    Thank you Man. This is the only OOP course that i have enjoyed and has given clarity to what OOP entails. 👌👊🏄

  • @imapimplykindapimp
    @imapimplykindapimp 2 ปีที่แล้ว

    Thanks mate - appreciate your work

  • @francescopiazza4882
    @francescopiazza4882 ปีที่แล้ว

    Excellent course, very good, thanks !

  • @Mdroudian
    @Mdroudian 2 ปีที่แล้ว

    Good video on classes... Haven't used a class since learning about dataclasses.

  • @tcidude
    @tcidude 4 ปีที่แล้ว +1

    Can't wait to go over this tutorial!

    • @patloeber
      @patloeber  4 ปีที่แล้ว

      Hope you enjoy it!

  • @koushikvss6277
    @koushikvss6277 3 ปีที่แล้ว +1

    Underrated like hell

  • @ОленаДоманська-и3х
    @ОленаДоманська-и3х 2 ปีที่แล้ว

    Your explanation is amazing! Thank you so much 💗

  • @FranzFakler
    @FranzFakler 11 หลายเดือนก่อน

    IMHO the best. Because there is not one huge project. He chooses for each Python method the appropriate code snippet.
    The other tutorials, after some minutes, You cannot keep pace and quite lost because the code You see does not work anymore because it has been changed a lot of times.

  • @nemesis_rc
    @nemesis_rc 3 ปีที่แล้ว

    Best oops tutorial in python ngl

  • @ramprksh555
    @ramprksh555 2 ปีที่แล้ว

    Very informative and the way of teaching is awesome! I came to this video after I watched your video on how can we dockerize python application.

  • @MiDiCur
    @MiDiCur 2 ปีที่แล้ว

    Thank you for a very clear and well paced excelent tutorial.

  • @ralenesworld198
    @ralenesworld198 4 ปีที่แล้ว +1

    I am so excited to go through the tutorial

    • @patloeber
      @patloeber  4 ปีที่แล้ว

      Hope you'll enjoy it :)

  • @vigneshmohan6720
    @vigneshmohan6720 2 ปีที่แล้ว

    Thank you so much man!!! I am a non-CS background guy , am able to understand this concepts clearly . I spend two days on this video and worth watching your crash course..
    Thanks a lot :)

  • @heromil
    @heromil 3 ปีที่แล้ว

    Excellent tutorial man, I am learning many many things about OOP and python with you!!

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      nice to hear this!

  • @anurasenarathna1703
    @anurasenarathna1703 3 ปีที่แล้ว

    A very good. One of the best in OOP. Thank You.

  • @kccchiu
    @kccchiu 3 ปีที่แล้ว

    Even when I watch your MLalgo tutorials I find your oop very beautiful. Currently I am struggling with the concept. Thank you for this tutorial.

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      Happy to hear that!

  • @aloksrivastava9742
    @aloksrivastava9742 2 ปีที่แล้ว

    its the best OOPs tutorial available on youtube Thanks for sharing this. Also would like to point a slight correction @40:34 . We can not inherit __init__ function

    • @i2mastering943
      @i2mastering943 11 หลายเดือนก่อน

      Right. I am having trouble at this point as well. I get this when calling se:
      object.__init__() takes exactly one argument (the instance to initialize)
      All my code is the same. I was wondering if anyone was having the same trouble

  • @abteyeb7969
    @abteyeb7969 3 ปีที่แล้ว

    is clear and we see letters writing very well

  • @Nata-et8mb
    @Nata-et8mb 5 หลายเดือนก่อน

    Thanks for the great tutorial

  • @StarFury2
    @StarFury2 3 ปีที่แล้ว

    Example salary attributes gave me strong motivation to finish this course ;)
    But seriously, great job explaining, especially parts about encapsulation and properties!

  • @kingswag177
    @kingswag177 2 ปีที่แล้ว

    Hands down one of the best oop course for beginners 💯❤️❤️❤️
    Thanks a lot man 😌

  • @Icarsuss
    @Icarsuss 2 ปีที่แล้ว

    Best explanation. I had some rough ideas about how it works, but now it's very clear. Thank you very much

    • @lepidoptera9337
      @lepidoptera9337 2 ปีที่แล้ว

      So now that you heard a lot of bullshit about OOP you feel better? Why?

    • @Icarsuss
      @Icarsuss 2 ปีที่แล้ว

      @@lepidoptera9337 what's the prob with u? Dad didn't return with the milk? Why?

    • @lepidoptera9337
      @lepidoptera9337 2 ปีที่แล้ว

      @@Icarsuss Once you have a lifetime of experience everything looks different, young one. ;-)

    • @Icarsuss
      @Icarsuss 2 ปีที่แล้ว

      @@lepidoptera9337 Everyone starts at some point and learn along the way young one. If someone makes an effort to teach other in a simpler way, learn to appreciate that. I guess your lifetime of experience hasn't teach you to be polite and grateful, old one :)

    • @lepidoptera9337
      @lepidoptera9337 2 ปีที่แล้ว

      @@Icarsuss I have seen too many young idiots along the way. You need to learn not to increment that counter all the time. ;-)

  • @rezashahheidari5538
    @rezashahheidari5538 3 ปีที่แล้ว

    Thank you so much- great style of teaching OOP and an awesome way of describing the four properties of OOP:
    Inheritance, Polymorphism, Encapsulation, and Abstraction.

  • @sasikanth3147
    @sasikanth3147 2 ปีที่แล้ว

    I am from Non-coding background I have watched video upto time stamp: 7:40, It kind of reminded me of the structures in C-programming which I learned long long ago. where for the first time I came acros "." and "->" operatiors to access the structure if my memory is correct. Looking fwd to watching and rewinding again and again to get the grasp of this concept.

  • @rida_brahim
    @rida_brahim ปีที่แล้ว

    amazing work ❤

  • @janirico5641
    @janirico5641 2 ปีที่แล้ว

    Hi Patrick, this is wonderful tutorial on OOP, thank you very much for all your hard work and efforts. I've learnt so much from you...

  • @fns3122
    @fns3122 2 ปีที่แล้ว

    very good lecture and definitely recommendable , Thank you for saving my time and energy

  • @mr.ezeadimazubuike9389
    @mr.ezeadimazubuike9389 2 ปีที่แล้ว

    Thank you very much for the explanation

  • @study_with_thor
    @study_with_thor 3 ปีที่แล้ว

    When you use comments while teaching us I realized that I would be obsessed with this channel

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      Glad to hear that :)

  • @markeyeo
    @markeyeo ปีที่แล้ว

    Hi Patrick, thank you for the course. I finally think I understand OOP in Python. I noticed something strange about the getter/setter using the decorators.I added some print statements within the getter and setter functions and they came out when I called them in Spyder. However, in Jupyter, the print statements did not come out. Furthermore, I added some numerical constraints within the setter function and it also worked in Spyder but not Jupyter.

  • @KhanhDuy-dv2ub
    @KhanhDuy-dv2ub 3 ปีที่แล้ว

    What is an amazing tutorial video for a beginner like me!
    I found that you mention protected and private attributes in this video ( 1:02:13 ), but for the examples, you always use protected attributes ( and I see these attributes are able to access outside without getter and setter )

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      yes in practice Python programmers mostly use protected variables

  • @charmingera6512
    @charmingera6512 ปีที่แล้ว

    To be honest this is really a great course on OOP. Mindblowing🤩

  • @hamzaabdikadir4631
    @hamzaabdikadir4631 3 ปีที่แล้ว

    idk how to thank you this is amazing helped me so much

  • @RajatSadanandan
    @RajatSadanandan 3 ปีที่แล้ว

    Really Helpful! Thanks a lot!!

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      glad to hear that!

  • @shubhamthedeveloper
    @shubhamthedeveloper ปีที่แล้ว

    This guy provides this standard for free.

  • @yddokyi
    @yddokyi 2 ปีที่แล้ว

    Thanks sir for such informative piece..

  • @samuel97ification
    @samuel97ification 3 ปีที่แล้ว

    Great Tutorial! Well explained.

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      Glad it’s helpful :)

  • @kanishkasandaruwan9287
    @kanishkasandaruwan9287 3 ปีที่แล้ว

    woww..It is amazing.Motivation for learning.Thank you.Keep it up.Need more..and more'😊😍😍😍