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

Поділитися
Вставка
  • Опубліковано 29 чер 2024
  • In this Beginner Object Oriented Programming (OOP) Tutorial I will be covering all the fundamentals about classes, objects, and inheritance in Python. This tutorial is designed for beginners and will give you a strong foundation in object oriented principles.
    ~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~
    ✅ Write cleaner code with Sourcery: sourcery.ai/?... *
    Get my Free NumPy Handbook:
    www.python-engineer.com/numpy...
    ⭐ Join Our Discord : / discord
    📓 ML Notebooks available on Patreon:
    / patrickloeber
    If you enjoyed this video, please subscribe to the channel:
    ▶️ : / @patloeber
    Timestamps:
    00:00 - Introduction & Overview
    02:23 - 1 Class & Instance
    15:37 - 2 Functions In Classes
    36:06 - 3 Inheritance
    57:17 - 4 Encapsulation
    01:12:54 - 5 Properties
    01:18:17 - Recap Of OOP Principles
    Decorators:
    • Decorators in Python -...
    OOP Principles explained:
    www.freecodecamp.org/news/obj...
    ~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
    🖥️ Website: www.python-engineer.com
    🐦 Twitter - / patloeber
    ✉️ Newsletter - www.python-engineer.com/newsl...
    📸 Instagram - / patloeber
    🦾 Discord: / discord
    ▶️ Subscribe: / @patloeber
    ~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
    🅿 Patreon - / patrickloeber
    Music: www.bensound.com/
    Python
    ----------------------------------------------------------------------------------------------------------
    * This is a sponsored or an affiliate link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏

КОМЕНТАРІ • 387

  • @dsdridi5362
    @dsdridi5362 3 роки тому +65

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

  • @imdadood5705
    @imdadood5705 3 роки тому +68

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

  • @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

  • @TheRealKitWalker
    @TheRealKitWalker 2 роки тому +4

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

  • @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 2 роки тому

      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 2 роки тому

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

  • @hideweapon1361
    @hideweapon1361 3 роки тому +6

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

    • @patloeber
      @patloeber  3 роки тому

      Thanks a lot :) glad it was helpful

  • @InsightWeaver
    @InsightWeaver Рік тому +1

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

  • @mabeleain3320
    @mabeleain3320 11 місяців тому +3

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

  • @suvisinteriors3663
    @suvisinteriors3663 3 роки тому +12

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

  • @ciscoserrano
    @ciscoserrano 3 роки тому +89

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

    • @patloeber
      @patloeber  3 роки тому +6

      I'm happy to hear that :)

    • @shekharkumar7905
      @shekharkumar7905 3 роки тому +1

      Same here bro ...

    • @shekharkumar7905
      @shekharkumar7905 3 роки тому +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 ;)

  • @hansmaier4119
    @hansmaier4119 2 роки тому +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

  • @sheikhakbar2067
    @sheikhakbar2067 3 роки тому +3

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

    • @patloeber
      @patloeber  3 роки тому

      thank's for watching! glad you like it

  • @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

  • @qneal78710
    @qneal78710 Рік тому +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 11 місяців тому +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.

  • @puzzlesolver9088
    @puzzlesolver9088 3 роки тому +6

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

  • @roshankumargupta46
    @roshankumargupta46 3 роки тому +4

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

  • @sachar367
    @sachar367 3 роки тому +3

    Perfect in all concepts, Thank you for teaching

  • @tcidude
    @tcidude 3 роки тому +1

    Can't wait to go over this tutorial!

  • @gauravpande602
    @gauravpande602 Рік тому

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

  • @Zak-l7e
    @Zak-l7e Рік тому

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

  • @vincentong6302
    @vincentong6302 3 роки тому +3

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

  • @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!

  • @kwang-jebaeg2460
    @kwang-jebaeg2460 3 роки тому +7

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

  • @hasantao
    @hasantao Рік тому

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

  • @ifeyinwanwabueze8332
    @ifeyinwanwabueze8332 2 роки тому

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

  • @mwesigyenicholas7394
    @mwesigyenicholas7394 10 місяців тому

    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

  • @kingswag177
    @kingswag177 2 роки тому

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

  • @giaphattran5979
    @giaphattran5979 3 роки тому +6

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

  • @rezashahheidari5538
    @rezashahheidari5538 2 роки тому

    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.

  • @TheProblembaer2
    @TheProblembaer2 2 роки тому

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

  • @zacky7862
    @zacky7862 2 роки тому +1

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

  • @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

  • @true_tamilan
    @true_tamilan 2 роки тому

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

  • @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!

  • @letthemknowuncle5399
    @letthemknowuncle5399 2 роки тому

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

  • @user-ik8pk5ll5f
    @user-ik8pk5ll5f Рік тому

    Your explanation is amazing! Thank you so much 💗

  • @canadahq6926
    @canadahq6926 Рік тому

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

  • @2k8glg
    @2k8glg 2 роки тому +1

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

  • @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...

  • @IrfanPavel
    @IrfanPavel Рік тому

    The best one I got after a long time...Thank you so much

  • @tundemikail5678
    @tundemikail5678 3 роки тому

    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  3 роки тому

      thanks! Happy to hear that :)

  • @breaktheloop9216
    @breaktheloop9216 3 роки тому

    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  3 роки тому

      Thanks so much! Glad you enjoyed it

  • @ThespecialOtaku
    @ThespecialOtaku 2 роки тому

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

  • @leoneruri6857
    @leoneruri6857 2 місяці тому

    Excellent tutorial, properly explained and beginner friendly

  • @MiDiCur
    @MiDiCur 2 роки тому

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

  • @7999rahul
    @7999rahul 2 роки тому +1

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

  • @longnguyenhoang764
    @longnguyenhoang764 2 роки тому +5

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

  • @pekorabestgirl543
    @pekorabestgirl543 Рік тому

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

  • @slickwillie3376
    @slickwillie3376 2 роки тому

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

  • @ralenesworld198
    @ralenesworld198 3 роки тому +1

    I am so excited to go through the tutorial

    • @patloeber
      @patloeber  3 роки тому

      Hope you'll enjoy it :)

  • @francescopiazza4882
    @francescopiazza4882 Рік тому

    Excellent course, very good, thanks !

  • @dauntlessRx
    @dauntlessRx Рік тому

    Wow, thank you so much for this amazing tutorial.

  • @christheone248
    @christheone248 2 роки тому

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

  • @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.

  • @MrGhost-do1rw
    @MrGhost-do1rw Рік тому

    Excellent lecture. Thank you Patrick

  • @imapimplykindapimp
    @imapimplykindapimp Рік тому

    Thanks mate - appreciate your work

  • @eldrigeampong8573
    @eldrigeampong8573 2 роки тому +3

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

  • @kieutrungtran1549
    @kieutrungtran1549 Рік тому

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

  • @heromil
    @heromil 3 роки тому

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

  • @montasirshams1631
    @montasirshams1631 Рік тому

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

  • @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.

  • @BabatopeFagbenle-rk6jy
    @BabatopeFagbenle-rk6jy 4 місяці тому

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

  • @Ramt33n
    @Ramt33n 22 дні тому

    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🙏

  • @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

  • @udayptp
    @udayptp Рік тому +1

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

  • @anurasenarathna1703
    @anurasenarathna1703 2 роки тому

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

  • @fns3122
    @fns3122 2 роки тому

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

  • @StevenTuschman
    @StevenTuschman 3 місяці тому

    WELL DONE!!

  • @StarFury2
    @StarFury2 2 роки тому

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

  • @tatendamukonoweshuro3008
    @tatendamukonoweshuro3008 2 роки тому

    This is amazing ,best lecturer

  • @hamzaabdikadir4631
    @hamzaabdikadir4631 3 роки тому

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

  • @devworks8787
    @devworks8787 Рік тому

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

  • @spicehaven209
    @spicehaven209 3 роки тому

    That was really good video. Thanks dude!

  • @leybourne
    @leybourne 2 роки тому +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  2 роки тому +1

      Glad you enjoyed it!

  • @stifferdoroskevich1809
    @stifferdoroskevich1809 3 роки тому

    MASTERCLASS! Thanks for sharing

  • @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 :)

  • @AnalystRising
    @AnalystRising 3 роки тому

    Really Well Explained. I really like this video.

  • @ridabrahim7604
    @ridabrahim7604 6 місяців тому

    amazing work ❤

  • @samuel97ification
    @samuel97ification 3 роки тому

    Great Tutorial! Well explained.

    • @patloeber
      @patloeber  3 роки тому

      Glad it’s helpful :)

  • @mahfuzrahman5316
    @mahfuzrahman5316 2 роки тому

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

  • @saidmamadgulomshoev3068
    @saidmamadgulomshoev3068 2 роки тому

    Great explanations!

  • @koushikvss6277
    @koushikvss6277 2 роки тому +1

    Underrated like hell

  • @charmingera6512
    @charmingera6512 Рік тому

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

  • @AndreiZherder
    @AndreiZherder 2 роки тому

    Great lecture!

  • @paulblack2649
    @paulblack2649 3 роки тому

    Thanks for this tutorial. Well done and nicely explained

    • @patloeber
      @patloeber  3 роки тому

      thanks! glad you like it

  • @mr.ezeadimazubuike9389
    @mr.ezeadimazubuike9389 2 роки тому

    Thank you very much for the explanation

  • @RajatSadanandan
    @RajatSadanandan 3 роки тому

    Really Helpful! Thanks a lot!!

  • @kanishkasandaruwan9287
    @kanishkasandaruwan9287 2 роки тому

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

  • @chiragsharma9430
    @chiragsharma9430 3 роки тому

    Nice tutorial keep creating more contents like this.

  • @Mdroudian
    @Mdroudian Рік тому

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

  • @int.21
    @int.21 2 роки тому

    Thanks to you, i finally understand it THANKS!

  • @lakeguy65616
    @lakeguy65616 2 роки тому

    excellent video!

  • @JR-pk1fr
    @JR-pk1fr 3 роки тому

    Great, great vid and presentation on OOP.

  • @rahmen70
    @rahmen70 2 роки тому

    Master Class,,, Loved It,,, Waiting for next advanced one

    • @patloeber
      @patloeber  2 роки тому

      glad you enjoyed it :)

  • @stevejoel8552
    @stevejoel8552 Рік тому

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

  • @karimbiohazard3131
    @karimbiohazard3131 3 роки тому

    i liked your way to explain things it does help me at understanding the OOP in python, thank you

  • @ssigitas69
    @ssigitas69 3 роки тому

    You are amazing. Very good explanation, very clear, no rush, just perfect. I want to see all your lessons in Python. I need to watch one more time and of course practice to understand more clearly. I wish all the best for you.

  • @NavodaKapukotuwa
    @NavodaKapukotuwa Рік тому

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

    • @lepidoptera9337
      @lepidoptera9337 Рік тому

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

    • @lepidoptera9337
      @lepidoptera9337 Рік тому

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

  • @WhiskeredBope
    @WhiskeredBope 2 роки тому

    Fantastic tutorial, thank you very much.

    • @patloeber
      @patloeber  2 роки тому +1

      Glad you enjoyed it!