Object Oriented Programming (OOP) in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2024
  • Learn the fundamentals of OOP with Python
    Caleb Curry TH-cam Channel:
    / calebthevideomaker2
    💖 Support The Channel!
    / traversymedia
    Website & Brad Traversy Udemy Course Links:
    www.traversymedia.com
    Follow Traversy Media:
    / traversymedia
    / traversymedia
    / traversymedia
    Timestamps:
    00:00 Intro
    03:52 Creating Classes and Objects
    10:48 Custom Methods
    17:18 Creating and Overriding Methods
    30:50 Intro to Encapsulation, Inheritance, Polymorphism
    36:43 Encapsulation, Inheritance, Polymorphism Examples
    41:17 Outro
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Glad to see Caleb here. He's a super guy.

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

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

    This guy is a legend. He saved me with his database tutorials.

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

      Will you give me the link of the database tutorials?

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

      yeah me too...

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

      @@skmohymanulislamsiam6101 th-cam.com/video/ztHopE5Wnpc/w-d-xo.html

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

      @@skmohymanulislamsiam6101 his name on yt is caleb curry

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

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

    I like his teaching style, you should bring him back again Brad!!

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

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

      Just to go Caleb's youtube

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

    Caleb is an amazing teacher.

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

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

    Caleb is one of my favorites, awesome to see him on your channel.

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

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

    This was such a great video. I was always familiar with the basics of OOP like inheritance and creating objects and methods, but never found a video that incorporates encapsulation and polymorphism as well!

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

    Thank you Caleb for casually making me get the "self" parameter!
    That *does* make a lot of sense now.
    I always thought it referred to the method/class, not the object.

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

    This channel is a gold mine! Props to Caleb. Such a really good teacher.

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

    Caleb is a great teacher. Love seeing him on Brad's channel. I shared this video in my CS class WhatsApp group 😁

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

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

    I'm glad to see that you're building a strong educational platform Brad
    You've always been a great source of knowledge
    Bringing other people to your channel is going to help you reach out to even more people and help them learn
    Thank you for all your efforts

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

  • @2002tchoke
    @2002tchoke 3 ปีที่แล้ว

    this kid is outstanding! i been around python for couple of months and today i finally understood classes. good work!

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

    Simply outstanding! Taking the complexity out of OOP in a simple and succinct manner.
    Way to go!
    Thank you for sharing.
    Liked and subscribed.

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

    I was busy all day.
    Creating a portfolio website by following
    Traversy Media's videos which are already 2 years old.

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

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

    Caleb, I just finished your Oracle course, and now I see you in here, pure happiness

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

    This is so incredibly helpful, very well explained, thank you so much!

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

    Great teaching by Caleb...Exactly what I needed . Touched all the important stuff in a short time

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

    Thanks for the content. I am planning to learn ML. So looking forward to see more python tuts in Traversy Media. 👍👏

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

    Wow! I needed this. Very great teacher! Thanks Brad and Caleb! 😍

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

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

    Brad and Caleb collab! Awesome! 🙌

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

  • @JR-pk1fr
    @JR-pk1fr 3 ปีที่แล้ว

    Arguable the best instructional vid on OOP in Python. The toughest part at first is wrapping your head around all the abstraction.

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

    This is awesome!
    This refresher will help me build my project

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

    Thank you for this intro! I have experience in Java for OOP but Python is my favorite PL and I'm ready to jump in OOP in Python for my projects.

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

    I was following Caleb from his SignalR tutorial, he is simply superb, explaining things for all levels.

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

    Glad to see Caleb here. His C tutorials helped me a lot when I was just getting started learning and was taking CS50.

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

      Yeah.. Whats the better one,, I'm seeing this kinda post 4th time... I know CS50 closes C within 3-4 hours.. But his one is Longer than CS's.. So.. Could you give me some suggestions!!

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

    Caleb Curry always delivers, I follow every single video and live stream, I enjoy his work

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

    Thank you so much for this. Really needed it. ❤️

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

    Caleb is such a good teacher we need more cs teachers like him.

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

    Amazing at teaching and explaining in the simplest ways!

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

    Wow Caleb is here nice to see him and his great teachings and all thanks to brad you are the best

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

    Straight to the point. Thank you 🙏

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

    Woohoo! Thanks a lot Brad & Caleb!

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

    This guy is a LEGEND. He saved me with his Python tutorials.

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

    Caleb is a wizard, so awesome to see him in your channel, Brad.

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

    I know this guy, he grows beard within 6 hrs in sql tutorial 😂

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

      LMAO

    • @Luffy-hi6xw
      @Luffy-hi6xw 3 ปีที่แล้ว

      😂😂😂

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

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

      Hehe....was confused when I noticed that in his sql tutorial video

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

      hahahahaha

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

    No doubts, why this is the best and the easiest explanation of OOP

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

    I am moving through Caleb’s c programming content currently. I know it’s a minuscule thing but unlike a white board the chalk board draws me in. Thanks Brad and Caleb!!!!

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

    Great teaching style, I've been struggling with this, thanks to Caleb I'm finally getting it. Wish someone would use motors & microprocessors for an example so I could apply classes to robotics projects.

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

    Great stuff. Helped me on my way with combining OOP, PYgame and Neural Networks.

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

    Thanks very much for this. I feel I finally have a grasp of OOP for the first time!

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

    Your voice is so soft and memorizing...good keep it up...can hear more than 4-5 hours continuosly

  • @Emily-is3cz
    @Emily-is3cz 2 ปีที่แล้ว +3

    I didn't know this so I looked it up
    Methods=Functions
    You call a function a function when it is outside of a class
    You call a function a method when it is written inside a class

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

    Hey Caleb, good to see you with Traversy

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

    Sharp young man! Solid teaching skills!

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

    I was the first to view this video! I am going to study it and to share at WhatsApp groups! Thank you! Your videos are perfect!

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

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

    you re just growing up so fast celeb. you were just a young lad 2 months ago, back when I was watching your sql tutorial.

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

    thanks for the video.Thank you for the video, great work. Appreciate your work.

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

    No cap you explained this so well! Thank you!😢❤

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

    This video had great explanation. Thank you Caleb and Traversy media

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

    Thanks to you I was able to understand SQL. I am back for more haha :). Happy to see Caleb once again! ^^:

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

    Being a fan of Caleb for the last 3 yrs , I have admired his teaching technique by breaking problems into smaller ones one at a time and explaining in depth & full of practical examples.i have learned many programming languages from C,C++ and currently learning java from his channel. Caleb is a hidden gem & am happy he is with us on Traversy Media. Thanks Brad.

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

    over 10000 people got benefited ....but only 935 people appreciated the hardwork.
    These guys really deserve huge likes.

  • @YLWIN-fz9uo
    @YLWIN-fz9uo 3 ปีที่แล้ว

    u just saved me for my final exam assignment!!! Thank u so much

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

    You are an amazing teacher Caleb!

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

    woow bro, I know you and I was big fan, I have watched your whole database tutorial :))), Big thumbs up for making tuts at Traversy Media

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

    Great work Caleb! Thanks Brad!

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

    Great intro into basics of POO! Thanks Caleb!

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

    Wow this is so easy to understand and helped so much with my homework thank you

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

    Thank you for this useful tutorial. Great easy-to-understand language, and your logic works with my brain.

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

    Thank you so much for this time efficient and easy to understand course!

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

    Caleb curry has filled in the gaps of my c++ knowledge and c++ workflows

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

    thanks ! helped me clear my doubts about methods

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

    Didn't know how many creators there were until traversy started sharing them!

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

    THANK YOU, YOU JUST HELPED ME TAKE A HUGE STEP FORWARD

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

    Awesome and crisp details in short time

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

    WoW....this guy is good at explaining concepts. pls make more videos on design pattern in Python....Cheers Man! U deserve A-Five-Star award

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

    Old school blackboard. I love it!

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

    Excellent teaching style!

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

    Wow, thanks Brad, for introducing this man.

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

    "you could conquer the world"
    and that ladies and gentle men is how someone convinced me to learn coding

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

    Amazing! you are an excellent teacher!

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

    Hi Caleb. You just got a new subscriber. Can’t wait to see more content from your channel.

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

    Just what I needed, thanks man.

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

    Wow.
    My Namesake...Lots of Love from Kenya. Thank you Brad.. It's always a joy to tune in.

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

    Great video as usual! Any chance you could do a part 2 and talk through another example like the class Camera you showed at 23:00?

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

    You are the best teacher Caleb. God bless you.

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

    just what i needed! aweseome

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

    Thank you Caleb and Brad

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

    u are the only guy in u tube explaing about this oop in clear cut way....seriously man....

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

    Love this, Thanks a lot for the class. I learned a lot.

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

    Very good tutorial, thank you.

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

    Caleb is top 3 best teachers I’ve ever listened to

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

    27:30 DNA sequencing in Python, now we're talking!

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

    His Database design videos are my Fav 🤩

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

    I purchased your javascript course on udemy and i love it

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

      share the udemy link here

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

    hi from Türkiye, it is the most effective lesson about oop, i have ever seen. thanks alot...

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

    Wow, I just saw hes picture wasn't exactly interested in this particular topic but since it's him I gotta see it... It's been long since I came across him I thought he wasn't doing videos any more... Ps it's his java tutorials I came across him.... I'm glad he's here

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

    Ahhh, I revised my C++ from this guy. He's awesome!

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

      *HOW TO INSERT DATA INTO TABLE USING ARRAY* _th-cam.com/video/TJ4wMgjlWKk/w-d-xo.html_

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

    Thanks Traversy, couldnt have gotten this far without your help.
    #keepupyourstaff

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

    23:20 "and, as a result, have a better understanding of your own true self"
    That one really got me hahaha

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

    I love Caleb I've seen his videos before and he is great.

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

    Thank you for explanation!

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

    this is best video about oop I have ever watched

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

    Thank you!Really helpful!

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

    Hi Caleb
    Can you create a seperate playlist for oops in python that could explain encapsulation, inheritance and polymorphism.

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

    Awesome content. Please make a cheatsheet video like this for data structure as well.

  • @ahmad-murery
    @ahmad-murery 3 ปีที่แล้ว

    I find it very helpful to use a blackboard/whiteboard to explain the concepts before going to actual implementation of the code
    Thanks

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

    you are amazing ! I understand the logic right now!

  • @2012perl
    @2012perl 3 ปีที่แล้ว

    Omg!i see his udemy free course,his face look diference,look chuby ❤️😀🙏👍,and of course he is genius guy!i love his teaching style!

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

    Really good explanation !

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

    Excellent Tutorial!