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

  Рет қаралды 350,086

Patrick Loeber

Patrick Loeber

Күн бұрын

Пікірлер: 393
@dsdridi5362
@dsdridi5362 3 жыл бұрын
after 6 weeks of tutorials from different channels, this one is the best, respect ❤🙋‍♂️
@patloeber
@patloeber 3 жыл бұрын
happy to hear this :)
@electronpro6347
@electronpro6347 Жыл бұрын
This one the one I only understand
@ciscoserrano
@ciscoserrano 4 жыл бұрын
This is amazing. I’ve been struggling with these concepts for so long and now I understand!!!! Thank you.
@patloeber
@patloeber 4 жыл бұрын
I'm happy to hear that :)
@shekharkumar7905
@shekharkumar7905 4 жыл бұрын
Same here bro ...
@shekharkumar7905
@shekharkumar7905 4 жыл бұрын
Thanks python eng. Ur explanation is really so amazing
@jstdream2u
@jstdream2u 3 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
You have the gift of teaching, man. Thanks for creating this video and making it available for free. +1 follower and fan
@unpatel1
@unpatel1 3 жыл бұрын
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?
@imdadood5705
@imdadood5705 4 жыл бұрын
One of the most underrated KZbin channels! ❤️
@patloeber
@patloeber 4 жыл бұрын
Thanks a lot :)
@hideweapon1361
@hideweapon1361 4 жыл бұрын
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
@braimahhassanoshiapemhe6430
@braimahhassanoshiapemhe6430 3 жыл бұрын
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 жыл бұрын
thanks, really nice to hear this
@hansmaier4119
@hansmaier4119 3 жыл бұрын
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
@kwang-jebaeg2460
@kwang-jebaeg2460 4 жыл бұрын
i am so happy to have an opportunity to INHERIT your knowledge :)) always thanks alot !!
@patloeber
@patloeber 4 жыл бұрын
haha good one
@eldrigeampong8573
@eldrigeampong8573 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 жыл бұрын
As a student, I've learned a lots from you
@patloeber
@patloeber 4 жыл бұрын
thanks :)
@TheRealKitWalker
@TheRealKitWalker 3 жыл бұрын
So concise and precise. That's all that's required to clearly understand the concept and how to apply it effectively.
@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
@longnguyenhoang764
@longnguyenhoang764 3 жыл бұрын
This channel is freaking underrateddddddddddd, you need 1M more views to deverse what you've done
@JohnnyEnglish531
@JohnnyEnglish531 Жыл бұрын
Agree
@stefmyt5062
@stefmyt5062 2 жыл бұрын
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!
@qneal78710
@qneal78710 2 жыл бұрын
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 Жыл бұрын
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.
@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.
@mabeleain3320
@mabeleain3320 Жыл бұрын
Fantastic!! Great explanation on OOP and summary of each section is really amazing. Thanks Patrick.
@sheikhakbar2067
@sheikhakbar2067 4 жыл бұрын
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 жыл бұрын
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!
@dastanozgeldi
@dastanozgeldi 3 жыл бұрын
The best OOP tutorial that has understandable concepts I've ever seen. Thanks for sharing this video!
@patloeber
@patloeber 3 жыл бұрын
Glad it was helpful!
@pekorabestgirl543
@pekorabestgirl543 2 жыл бұрын
You got my sub, NeuralNine and Patrick Loeber are the only 2 coding channel i have subbed on youtube.
@suvisinteriors3663
@suvisinteriors3663 3 жыл бұрын
I can't thank you enough for this amazing lecture, Patrick! I wish you all the very best.
@patloeber
@patloeber 3 жыл бұрын
thanks a lot :)
@ThespecialOtaku
@ThespecialOtaku 3 жыл бұрын
Man been search for some OOP videos for so long and your video is the only i could sit through
@patloeber
@patloeber 3 жыл бұрын
great!
@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 :)
@christheone248
@christheone248 2 жыл бұрын
This is the first time I understood OOP and in a language, I don't even know! Excellent video and explainations!
@gamingandlinux7089
@gamingandlinux7089 6 ай бұрын
Best most understandable organized video on oop in python.
@BabatopeFagbenle-rk6jy
@BabatopeFagbenle-rk6jy 11 ай бұрын
I think I am sorry for coming to this party late. What a delivery. You are awesome.
@НиколайНовичков-е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.
@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
@kieutrungtran1549
@kieutrungtran1549 Жыл бұрын
Great OOP. Changed my understanding from -100% to 100%
@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.
@TheProblembaer2
@TheProblembaer2 2 жыл бұрын
Thank you, worked it through in a day. Now my head explodes. Great tutorial!
@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🙏
@7999rahul
@7999rahul 3 жыл бұрын
Your videos are by far the best I've found here. many thanks for your hard work.
@patloeber
@patloeber 3 жыл бұрын
Glad you like them!
@judeleon8485
@judeleon8485 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!
@devworks8787
@devworks8787 Жыл бұрын
43:44 after all these years understood why super() is being used. Thank you!
@InsightWeaver
@InsightWeaver 2 жыл бұрын
Excellent video mate! Keep up the good work, I struggled with OOP but you explained it really well. Thanks a lot !!!
@mahfuzrahman5316
@mahfuzrahman5316 3 жыл бұрын
watched this on 2X speed! finished in half the time. Thanks for the tutorial. Fastest I have ever learned a concept.
@roshankumargupta46
@roshankumargupta46 4 жыл бұрын
Dude this is simply awesome! Love the way you explain the concepts :)
@patloeber
@patloeber 4 жыл бұрын
thanks so much :)
@josephomondi629
@josephomondi629 5 ай бұрын
this is a great tutorial that covers pretty much everything about class. thank you
@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
@leybourne
@leybourne 3 жыл бұрын
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 жыл бұрын
Glad you enjoyed it!
@puzzlesolver9088
@puzzlesolver9088 4 жыл бұрын
Thank you for this crash course! I can't wait for another, more advanced one ;)
@patloeber
@patloeber 4 жыл бұрын
Glad you like it :)
@stevejoel8552
@stevejoel8552 Жыл бұрын
Brother you are the best 👍 You have decomposed the barrier In 15 minutes
@gauravpande602
@gauravpande602 2 жыл бұрын
This is one of the best tutorials I have seen..too good !! Thank You Python Engineer :)
@2k8glg
@2k8glg 3 жыл бұрын
Sir we are thankful for this excellent OOP in python tutorial. This tutorial clears confusing topics for beginner programmers.
@vincentong6302
@vincentong6302 4 жыл бұрын
Crystal clear explanation, thanks for posting this kind of videos, keep it up! You just make learning enjoyable
@patloeber
@patloeber 4 жыл бұрын
thanks a lot!
@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.
@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!
@slickwillie3376
@slickwillie3376 3 жыл бұрын
This is the best video I've seen on the subject. Big thumbs up!
@patloeber
@patloeber 3 жыл бұрын
Glad you liked it!
@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.
@Zak-l7e
@Zak-l7e 2 жыл бұрын
Brilliant way to explain calmly and clearly the class and objects in python. well done and thank you
@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 :)
@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.
@leoneruri6857
@leoneruri6857 9 ай бұрын
Excellent tutorial, properly explained and beginner friendly
@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!
@udayptp
@udayptp 2 жыл бұрын
Thank you for this amazing and informative helpful video on oops with python topic. This is best on you tube. 😍
@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.
@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. ;-)
@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.
@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
@manalabas4411
@manalabas4411 Жыл бұрын
The Best ❤️❤️❤️❤️❤️❤️❤️
@letthemknowuncle5399
@letthemknowuncle5399 3 жыл бұрын
Good one. was here for some quick reference and that was amazing!
@patloeber
@patloeber 3 жыл бұрын
happy to hear this!
@Mdroudian
@Mdroudian 2 жыл бұрын
Good video on classes... Haven't used a class since learning about dataclasses.
@sachar367
@sachar367 3 жыл бұрын
Perfect in all concepts, Thank you for teaching
@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!
@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.
@patloeber
@patloeber 3 жыл бұрын
Thanks a lot!
@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 :)
@canadahq6926
@canadahq6926 Жыл бұрын
Thank you Man. This is the only OOP course that i have enjoyed and has given clarity to what OOP entails. 👌👊🏄
@koushikvss6277
@koushikvss6277 3 жыл бұрын
Underrated like hell
@patloeber
@patloeber 3 жыл бұрын
Thank you!
@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...
@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.
@nemesis_rc
@nemesis_rc 3 жыл бұрын
Best oops tutorial in python ngl
@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.
@kingswag177
@kingswag177 2 жыл бұрын
Hands down one of the best oop course for beginners 💯❤️❤️❤️ Thanks a lot man 😌
@charmingera6512
@charmingera6512 Жыл бұрын
To be honest this is really a great course on OOP. Mindblowing🤩
@MrGhost-do1rw
@MrGhost-do1rw 2 жыл бұрын
Excellent lecture. Thank you Patrick
@thebuggser2752
@thebuggser2752 3 жыл бұрын
One of the best expositions of OOP that I've seen. Very clearly presented and motivated. Great!
@seyeeet8063
@seyeeet8063 4 жыл бұрын
i unsubscribed when you start talking about tensorflow, but now I subscribed again and you have me back lol thanks
@patloeber
@patloeber 4 жыл бұрын
haha great to see you back :) TF was only a short course, I want to go back to other stuff and more PyTorch again
@seyeeet8063
@seyeeet8063 4 жыл бұрын
@@patloeber Im back forever :D
@ralenesworld198
@ralenesworld198 4 жыл бұрын
I am so excited to go through the tutorial
@patloeber
@patloeber 4 жыл бұрын
Hope you'll enjoy it :)
@gustavrasmussen473
@gustavrasmussen473 4 жыл бұрын
Another awesome video, thanks alot. Suggestion for oop2.py, in the information method: a slightly less verbose f-string would be f"{self.name = }, {self.age = }, {self.level = }". It gives the same output upon invocation.
@patloeber
@patloeber 4 жыл бұрын
thanks! and yes nice tip
@francescopiazza4882
@francescopiazza4882 Жыл бұрын
Excellent course, very good, thanks !
@tatendamukonoweshuro3008
@tatendamukonoweshuro3008 2 жыл бұрын
This is amazing ,best lecturer
@dfields9511
@dfields9511 Жыл бұрын
good crash course. I was coming from a heavy C++ background. so alot of this is same as C++ but syntax is slightly different . now I know of another lang that supports multi-inheritance (neeto-gag)
@hariprasathpanneerselvam5361
@hariprasathpanneerselvam5361 3 жыл бұрын
Great! Make a video about the perfect path to become ML engineer
@anurasenarathna1703
@anurasenarathna1703 3 жыл бұрын
A very good. One of the best in OOP. Thank You.
@abteyeb7969
@abteyeb7969 3 жыл бұрын
is clear and we see letters writing very well
@patloeber
@patloeber 3 жыл бұрын
Great
@tcidude
@tcidude 4 жыл бұрын
Can't wait to go over this tutorial!
@patloeber
@patloeber 4 жыл бұрын
Hope you enjoy it!
@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
@MiDiCur
@MiDiCur 2 жыл бұрын
Thank you for a very clear and well paced excelent tutorial.
@IrfanPavel
@IrfanPavel 2 жыл бұрын
The best one I got after a long time...Thank you so much
@rahmen70
@rahmen70 3 жыл бұрын
Master Class,,, Loved It,,, Waiting for next advanced one
@patloeber
@patloeber 3 жыл бұрын
glad you enjoyed it :)
@quantumastrologer5599
@quantumastrologer5599 3 жыл бұрын
When in doubt choose the guy with a german or indian accent to teach you programming.
@tyronemixx
@tyronemixx 3 жыл бұрын
😂
@SashoSuper
@SashoSuper Жыл бұрын
It is best if he has a mixture of both.
@shubhamthedeveloper
@shubhamthedeveloper Жыл бұрын
This guy provides this standard for free.
@sheereenfathima
@sheereenfathima 3 жыл бұрын
Wow Superb explanation given by you now I can understand somewhat Object oriented programming Thaank you very much
@patloeber
@patloeber 3 жыл бұрын
Happy to help
@ОленаДоманська-и3х
@ОленаДоманська-и3х 2 жыл бұрын
Your explanation is amazing! Thank you so much 💗
Python Object Oriented Programming (OOP) - For Beginners
53:06
Tech With Tim
Рет қаралды 3,5 МЛН
NumPy Crash Course - Complete Tutorial
1:02:44
Patrick Loeber
Рет қаралды 129 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Object Oriented Programming (OOP) in Python
46:37
Traversy Media
Рет қаралды 284 М.
Object Oriented Programming with Python - From Beginner to Advanced
2:24:01
Coding Crash Courses
Рет қаралды 19 М.
Object Oriented Programming (OOP) in C++ Course
1:30:26
freeCodeCamp.org
Рет қаралды 2,6 МЛН
Please Master This MAGIC Python Feature... 🪄
25:10
Tech With Tim
Рет қаралды 135 М.
Object Oriented Programming with Python - Full Course for Beginners
2:12:35
freeCodeCamp.org
Рет қаралды 1,9 МЛН
Learn Python OOP in under 20 Minutes
18:32
Indently
Рет қаралды 172 М.
Rust Functions Are Weird (But Be Glad)
19:52
Logan Smith
Рет қаралды 154 М.
Python Object Oriented Programming Full Course 🐍
2:05:50
Bro Code
Рет қаралды 101 М.
Python laid waste to my C++!
17:18
Sheafification of G
Рет қаралды 198 М.
Python OOP Tutorial 1: Classes and Instances
15:24
Corey Schafer
Рет қаралды 4,6 МЛН