OOP Class Inheritance and Private Class Members - Python for Beginners!

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024

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

  • @Kiteboarding316
    @Kiteboarding316 2 ปีที่แล้ว +32

    I'll be honest I thought she was classic click bait: hot chick + interesting topic = views, but she does break down the core concepts in an easy and engaging way.

    • @PythonSimplified
      @PythonSimplified  2 ปีที่แล้ว +7

      hahahaha thank you so much Design! 😁
      I'm super happy you liked this tutorial and even happier to see you summarized the entire purpose of this channel in one sentence! 😀😀😀
      Trying to take some difficult concepts and make them approachable for everyone, so thank you so much for your lovely comment!

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

      can this be simply with dataclass or even pydantic -hmmm

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

      simplfy

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

      simplify - sorry my key get stuck

  • @artaniskim2120
    @artaniskim2120 2 ปีที่แล้ว +5

    As just as what Albert Einstein said "If you can't explain it simply, you don't understand it well enough." I was struggling with the OOP and you simply nailed it for me. Thank you so much. looking forward to see more videos from you !.

  • @Subconscious97
    @Subconscious97 11 หลายเดือนก่อน +2

    Thank god there is this beautiful angel to learn from because I’m tired of indie voices

  • @RicCarden
    @RicCarden 2 ปีที่แล้ว +12

    Amazing. You took 12 minutes to clearly explain what I've spent 2 days trying to get my head around. I've got it!
    You have a real talent for teaching. :-)

  • @tiramercu
    @tiramercu ปีที่แล้ว +7

    This is so much more understandable than my university lessons. Thank you so much!

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

    One small tutorial has done more than all the other lessons in the last 6 months! Thanks!!!

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

    The best python TH-camr I would personally recommend... The simpler it is explained.. The simpler it is even to grasp and execute... Keep it up

  • @DupondBenoit
    @DupondBenoit 8 หลายเดือนก่อน +2

    This was perfect for beginners like me, I combined this with the free practice exam and study guides i found on Learnology World, although those materials were useful for me to prepare for the type of exam questions that i should be expecting in the exam, these video was good in helping me understand the course better, all essential topics was mentioned. thank you very much ❤ i really appreciate

  • @sgarrison05
    @sgarrison05 8 หลายเดือนก่อน +2

    I have read and watched other explainations on this topic. By far, this was the best explaination with easy examples. I have the basic and always felt like the intermediate topics are not covered quite as well or often. Thank you for your dedication.

    • @PythonSimplified
      @PythonSimplified  8 หลายเดือนก่อน

      Thank you so much for the lovely comment!! 😃😃😃

  • @suvimpemel5583
    @suvimpemel5583 2 ปีที่แล้ว +18

    This was a great tutorial for me. It so happened to be that I new these things and I never new where to use and why to use.
    The best part is I'm a bass guitarist, the examples you took are really striking to me. Also the song "House of the rising sun" is a song that my brother and I use to play instrumental on.

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

      Thank you so much for the incredible comment Suvim! I'm so happy you found this video helpful! 😃😃😃
      "House of the rising sun" is one of my favourite songs to play! it has super easy chords and everybody knows it by heart!
      I usually replace "New Orleans" with "Hastings Street" as I live in Metro Vancouver so it's quite appropriate! hahahaha (it's a really nasty street!)
      I think it's absolutely awesome you play bass! We can almost start a PythonSimplified band with Ryuya Sho on the drums and you on the bass! We only need lead guitar and we're good to go (I have a feeling that your brother might be able help with that)! 😊
      I don't think many people know this - but I've been singing in a heavy metal band when I was younger so the music vibes are strong with me! 😉
      Now I only have my classic guitar, my voice and my audience which consists of my spouse and my cat hahahaha (unfortunately all my bandmates are on the other side of the planet and it's not as fun to write music on your own - I've always seen it as a team activity! 🙃)

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

      @@PythonSimplified wow, I would love to play the bass if you are putting up the band together. Yes my brother plays the lead guitar. He is much better on production side.
      I'm pretty sure your audience is mesmerized by your talent and my prayers on your bandmates.

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

      new or knew?

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

      @@srlhyo "never knew",
      Thanks for the correction

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

      @@suvimpemel5583 glad to have helped!

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

    Dudeee till now i was struggled on OOP. It's mad how simply you explain these stuffs great work no words to explain woaaah. Continue the good work

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

    As a guitar player, this is the best example to learn classes and inheritance in Python. Thank you very much.

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

    I'm a professional (senior) programmer with 5 years of experience of writing production quality code, still i find this tutorial refreshing.

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

    I have beeb quite awhile learning python. YOU are the best tutorial person that I have experienced teaching python and more. and you are the smart, everybody should learn from you.

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

    I've learned Python for work and have been using it regularly for work projects.
    I just gotta say, even watching these beginner videos again after some time is teaching me new things. She's dropping little nuggets here and there that explains so much that I didn't fully understand until getting more familiar with OOP.
    Absolutely gold. And she's great at breaking it down and explaining!

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

    The best thing about your videos/explanation is that you make complex topics in programming such as OOP so much fun to watch and understand them clearly at the same time. It feels like learning when we were children.

  • @MuneebHaroon-z9m
    @MuneebHaroon-z9m 2 หลายเดือนก่อน +1

    Thankyou so much , One of the best explanation on inheritance

    • @PythonSimplified
      @PythonSimplified  2 หลายเดือนก่อน

      Thank you for the incredible feedback!! Super happy you found my tutorial useful! 🙂

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

    Thanks so much for simplifying this difficult topic. Appreciate it.

  • @NZarboristBryce
    @NZarboristBryce 22 วันที่ผ่านมา

    Nice explanation on inheritance! Needed this for my test today too. Thanks 😊

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

    Wow this really helped me understand classes as a whole a lot better across all languages. The examples you used were so much better than (pet eat or family cat or whatever I usually see) thanks!

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

      hahahaha yeeey!! I'm super happy you found my tutorial helpful! 😀
      I'm gonna film an additional practice tutorial soon, this time using vehicle classes and inheritance. We will draw different types of vehicles in a recent Pygame project, so this time we'll see an extra visual example (which I believe is the best way to learn 😉)

  • @ryansh86
    @ryansh86 10 หลายเดือนก่อน +1

    Wow, I was struggling for few days to understand Classes in python.
    In the beginning, I simply didn't watch your videos more than 1 minute bcoz I thought a hot chick trying to get some extra views.
    But I saw your videos popping up multiple times and start watching complete videos.
    Damn, she is one of the best python tutors out there.
    All my doubts are clear now.
    Thanks 🙏 for such amazing videos.

  • @TomkinsOkello
    @TomkinsOkello 2 ปีที่แล้ว +49

    You present complex programming topics in an easier way so much so that newbies understand the concepts explained.

    • @PythonSimplified
      @PythonSimplified  2 ปีที่แล้ว +6

      Thank you so much Tomkins! 😁
      That's exactly my goal with each tutorial, super happy it shows!
      Thank you for the lovely comment! 😃

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

      Not to mention, make coding look sexy asf. 😅 😍🤤🥵🤩

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

    You are the best teacher! Very polite in communication, attention to detail is impeccable (you don’t forget or fail to explain any details like () something like that). The way you take time and not rush things really helps a beginner to follow along, although English isn’t my native language, I could pick up all the jargons and technical terms and relate to it smoothly. Feels great to discover your channel.
    more videos please! .upper()

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

    I love the way you teach! So simple 🎉

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

    Very Informative! Why can't some lecturers be more like this ?? Instead of visiting the university of TH-cam !! 👍👍👍

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

    Thank you!!!! Your tutorials are a gold mine - you really are talented at making confusing subjects much easier to understand.

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

    Thank you for making OOP easy to understand, much appreciated. From south africa.

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

    Glad to hear you now calling them ATTributes, and not atTRIButes as you did earlier!

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

      Hahaha yup! I was corrected in the comments of the previous video 😉

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

    Thank you thank you thank you! For explaining these concepts in the most simplified manner ever, gained a subscriber

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

    Thanks for your classes. You broke down a hard nut to crack for me.

  • @obajiokereke4028
    @obajiokereke4028 10 หลายเดือนก่อน

    so much covered in this video... kudos..highly recommended

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

    You are such a great tutor, I wish I had you as my mentor or lecturer at university

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

    Thank you so much for this video. I was struggling with OOP and reading words from a few books provided only marginal clarity. Your singing surprised me, I don't know why I didn't expect you to sing well lol. Your singing ability is second only to your ability to explain coding concepts. Thanks again!

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

    there is a print function in the class and yet explicitly called outside the class. I think it is best to write return("pam pam pam pam...") then call it outside the class as print(my_guitar.play()). I am still learning python and I am catching a "none" error. I am not sure about my solution though but it works in my end. Thank you and keep providing quality tutorials! Love from the Philippines!!!

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

    Beautiful teacher with nice explanation

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

    Another amazingly useful video. Thank you.

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

    Wow! This is by far the best tutorial I've come across. Thank you :)

  • @Dragons927
    @Dragons927 8 หลายเดือนก่อน

    A gorgeous example of a class guitar!

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

    Thank you so much from Ukraine! 🌹
    You explain everything very clearly!!! Subscribed

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

    best tutorial for using multiple class !!!!

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

    like your funny way of teaching, i now got an idea about classed

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

    Thank you

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

    literally in love

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

    Thanks Mariya for your perfect and pleasant style of present python....i enjoy and have addiction to your lesson !

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

    You are a skilled teacher thanks

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

    I'm quite astonished you don't have many more subs as I have viewed hundreds of related videos and yours are , by far, superior in both the presentation and content explanations. Class first!

  • @troylindstedt1458
    @troylindstedt1458 10 หลายเดือนก่อน

    You explain things so we’ll. Thank you!

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

    She is rocking on subject and emotions

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

    You have an exellent teaching style and presence. Good work. Enjoying your videos.

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

    Best explanation I saw on YT! You are such a positive and funny person and great at teaching. I'm surprised you have 100k subs "only" ;)

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

    I just feel like you are the best!❤️🔥🔥

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

    'chile' class LOL. awesome tutorial btw

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

    So easily understandable teaching here. Subscribed.

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

      Thank you so much! Welcome aboard! 😀😀😀

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

    well explained, thank you for this video it will help me on my Cisco DevNet learning and certification.

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

    Thank you for the amazing tutorial playlist! I learned so much and really enjoyed the clear explanations and practical examples. Grateful for the knowledge you shared!
    video no #2

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

    you are so cleaver in teaching . i request you to provide more detail tutorial on Django with your such brilliant mind please. i search for more videos on Django and python, but their content is not complete. thank you

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

    You are my favorite python teacher, thank you so much!
    Now working on my first kivy app, which I started half a year ago, then things in life happened and I just stopped working on it.. Picked it up a couple of days ago and voila! Already created my own settings screen with a json file to dump the settings into; already have 2 languages (en and lithuanian) built-in, and also I'm starting to really know what I'm doing. Hopefully my github page will have a single completed project soon :D
    This OOP tutorial just cemented everything I have thus far learned. Thank you so much!

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

      I need adequate tutorial on kivy....any recommendations please?

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

      @@adebanjoabiodunadeyemi4259 Depends on what you're building.
      Have you built anything already? Or do you want to start from scratch?

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

      I want to start from scratch. I will appreciate your assistance

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

    WOW amazing tutorial. You explained the concepts so clearly. I finally understand the self notation and what it's used to for. Thank you so much! Please keep uploading more tutorials :)

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

    Amazing tutorial !! Thanks!

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

    I guess no matter what the age is, falling in love with your teacher is a thing :D

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

    you´re so amazing... So many helpful to watch your lessons... It is so nice to see you, so beautiful! thanks a lot.

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

    Just amazing ! such a complex topic in what a wonderful and easier way explained !

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

    this tutorial was very useful for me and i'll say much thanks to the developer

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

    I am enjoying tihis series Mariya. And hey, I am a Classical Guitarist! Great content & presentation as usual. Glad that I did Java OOP so I am in familiar territory. :))

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

      That's awesome! thank you so much! 😊
      Will do another practice tutorial with class inheritance soon - this time generating a parent vehicle class along with sedan, truck, motorcycle, van, coupe child classes.
      We will then randomly select a child class and draw it as the enemy vehicle in the recent car game we've created! 😀😀😀

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

      @@PythonSimplified SWEET!! That would be so much fun. 🤩🤩

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

    You're a great teacher.! I'd suggest you must upload your content on other online learning platform like Coursera, Udemy, etc.

    • @PythonSimplified
      @PythonSimplified  ปีที่แล้ว +13

      Thank you so much Shivam! 😃
      I strongly believe that education should be free and available for everyone, I wouldn't want to charge folks for my tutorials or place them on platforms that do 😉

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

      I salute you and your views.

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

    Thanks, You are really good teacher of Python! Your video lessons are beautifully crafted, and I would love to see your videos in China.

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

    Am here to watch and undestannd later😀

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

    Good explanation ...
    Fan from India

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

    Thanks a lot. This helped me a lot

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

    Beauty with the Brain.

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

    7:09 Mariya, bringing the Djent!🦾

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

    very clearly presented i actually enjoyed it.

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

      Thank you so much Dimitrios! glad you liked it! 😀😀😀

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

    I would love to see a tutorial about using Class's in building a Tkinter app, especially assigning variables to input methods like textbox.
    Thanks for all your great video's, you certainly know your stuff 👍

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

    2:37 XD hahahahaha lol your song 😂😂🤣🤣Pam pamm pammm
    Best way to teach....
    Why only Guitar not piano!!
    Well I'm learning how to play guitar!!
    And I know how to play piano :-)
    Nice tutorial!!!

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

      I didn't know you play piano Udbhav!!! this is awesome!
      I play it too but super rusty after many years of hiding my synthesizer under the couch 😅😅😅
      It seems like we can already start a band given all the musicians in our little community! Badger even has a 7 string guitar!! we're ready to rock! 😁
      How's it going with the exams??

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

      @@PythonSimplified it's going good. Well I don't know about burger XDDD but I have guitar and I didn't play it much.. hahaha
      everything kinda in pause mode because of exams :) and what about you I mean your result? How is it?

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

    " there's nothing like private, we just being polite 😂 "

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

    an attribute holds data but the name of the attribute and the value could be information. If you name your attribute x and set the value 6 then it's not information but if you name it number_of_strings then that is information.

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

    I just love you... Thanks alot ❤️❤️❤️

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

    Very cute explanation

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

    You are very pretty girl🥰 Love watching your tutorial. Very clear and easy to understand

  • @djdawizz
    @djdawizz 3 หลายเดือนก่อน

    I think it should be noted that 'private' in Python is for the developer to understand it's not supposed to be used outside the scope. Not to actually hide something.
    In the real world, secrets are not in the code anyway.

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

    I wish I find these video one month ago :(It would be helpful for today's exam

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

    Great Great Great... Btw, congratulations Canada 🍁 for joining the others ⚽

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

    When you said ahhhha you remind me with Gargamel lol >>>> sorry it was very funny, but thank you, you so dope and very help full

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

    Hello
    your videos are very good but the keyboard sound can be annoying sometimes.
    If you remove the microphone from the table and move it somewhere else, there will be no sound 🙃

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

    Top explanations and clarifications!

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

    Excellent video, really liked this tutorial.

  • @dogahwkeinstein
    @dogahwkeinstein 2 หลายเดือนก่อน

    Great tutorial

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

    I wonder what you have seen at 1:39 😅
    Beside this I have to say I like your videos very much ☺️

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

    Your videos are fun and informative! Thank you

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

    pam pam pam pam is my favourite song

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

    useful, thanks

  • @GregThatcher
    @GregThatcher 3 หลายเดือนก่อน

    Thanks!

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

    You teach very good, I subbed..

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

    auto comment to help out w/ the algorithms!

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

    Great video. Well done

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

      Thank you so much Gareth! Glad you liked it! 😊

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

    How do you make something so complicated into something that is so easy to understand. 10/10

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

      exactly. Saved me a day.

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

    Thank you very much, great content

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

    Maria my love 💜💜
    Sorry machine learning fail this not assassin's creed revelations 🤣🤣

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

      hahahahaha I was indeed hoping to see a secret cypher there!! XDDDD

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

    inspiring ,and thank you !

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

    Just ❤️ 🔥 🔥

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

      Thank you so much Beluga! great chatting with you!! 😊