Python Object Oriented Programming in 10 minutes 🐍
ฝัง
- เผยแพร่เมื่อ 27 ธ.ค. 2020
- python object oriented programming OOP tutorial example explained
#python #objects #OOP
#------------------------------------------------------------------
from car import Car
car_1 = Car("Chevy","Corvette",2021,"blue")
car_2 = Car("Ford","Mustang",2022,"red")
car_1.drive()
car_2.stop()
#------------------------------------------------------------------
class Car:
def __init__(self,make,model,year,color):
self.make = make
self.model = model
self.year = year
self.color = color
def drive(self):
print("This "+self.model+" is driving")
def stop(self):
print("This "+self.model+" is stopped")
#------------------------------------------------------------------
music credits 🎼 :
===========================================================
Up In My Jam (All Of A Sudden) by - Kubbi / kubbi
Creative Commons - Attribution-ShareAlike 3.0 Unported- CC BY-SA 3.0
Free Download / Stream: bit.ly/2JnDfCE
Music promoted by Audio Library • Up In My Jam (All Of A...
=========================================================== - วิทยาศาสตร์และเทคโนโลยี
Learn the basics of POOP in 10 minutes!
#-----------------------------------------------------------------
from Car import Car
car_1 = Car("Chevy","Corvette",2021,"blue")
car_2 = Car("Ford","Mustang",2022,"red")
car_1.drive()
car_2.stop()
#-----------------------------------------------------------------
class Car:
def __init__(self,make,model,year,color):
self.make = make
self.model = model
self.year = year
self.color = color
def drive(self):
print("This "+self.model+" is driving")
def stop(self):
print("This "+self.model+" is stopped")
#-----------------------------------------------------------------
"POOP"
The French acronym is literally "POO" 💩
Hi bro
if python object oriented programming had a color it would be brown XD
Thank you bro❤❤❤❤❤
I have watched so many videos about OOP but every video was headache for me because those were so confusing but this is one of the best video about OOP, Thank You so much :)
Bro I taught I was the only one who taught that lol XD. He explained it so easily in 10 mins compared to tech with tim in 75 mins.
i felt the same
Same, I tried learning Java maybe 20yr ago as a kid, couldn’t do it, OOP was too abstract
SAME. This fits perfect for my assignment that im struggling on. So helpful
@@popupanimations1857 tech with tim sucks!
If you’re new to OOP, start with this video. It summarises what you need to know in 10 minutes and makes sense. I’ve seen a few others and they’re confusing so don’t bother. Start with this!
Easily the most understandable and user friendly video out there. Easy to comprehend examples and a short and sweet video that makes sure to touch all bases. Good job!
Man you are a real gem, I've searching a lot of tutorials and getting 2-3 hours long ones I just need the basic as I already knew JAVA and CPP, I found your video. It was superb and right to the point.
Taught me more in 10 minutes than my professor has in two months
ong
Yup, same same. Congrats for the video @bro
😂
My prof tried to teach me python for almost 2 years now and this bro taught me more in 10 mins
Unbelievably straight forward, surely gonna be watching your other videos soon. Thanks for the great work!
You simplified this perfectly. No BS explanation and I am here for it, after spending too much time learning this through over complicated means.
Usually short vids don't have a lot of the information but you like blown my mind when you explained it BROOOO!
Plus you made me want to create one! Thanks for teaching this, def a sub!
Brillant, Concise, Comprehensive, Simplified
Thats the exact definition of this video.
Thank you so much!
This was such an easy way to understand as some who just started coding a few days ago. Thank you!
I got more understanding about OOP from this than any OOP material I've come across in the last two years. Thanks.
Straight to the point. Really clear. Thx :)
You only spend a second on it, but the fact that you explained the (self) concept clearly is why your video is better than all the others I've watched so far.
Hey! I just found your channel and subscribed, love what you're doing! Particularly, I like how clear and detailed your explanations are as well as the depth of knowledge you have surrounding the topic! Since I run a tech education channel as well, I love to see fellow Content Creators sharing, educating, and inspiring a large global audience. I wish you the best of luck on your TH-cam Journey and can't wait to watch your next upload. Cheers, happy holidays, and keep up the great work :)
Excellent video. Concise and fast. Perfect for reviewing this topic (after so many years without coding) and probably for someone that wants to see how easy it is to make a POOP =)
This dude explained OOP better than chatGPT💀
YOU KILLED IT!! GREAT STEP BY STEP BREAK DOWN.... THANK YOU
Short and precise, just what I was looking for. Thanks :)
Very easy to understand lecture on OOP. Agree this is the best video on OOP I have watched on TH-cam
I love u , everyone that explains OOP complicate everything, you make it so simple , ty :D
great explanation man. the simplicity of which you explain it has given me some confidence to go and implement it myself!
Thanks, as someone who already knows how to program, I appreciate how fast you went through syntax (which is really all im looking for)
Thank's so much bro 10 minute wow every opp tut is over1 hour you are the best on TH-cam !^_^
This is a great tutorial for someone to get a quick idea about oop. I suggest following along with the exercise.
So many other comments are already saying it, but it is true, a very clear and straightforward explanation of classes and methods. Great video.
I was avoiding this topic like the plague! But, thanks to this video, I finally understand how POOP works. Thanks, Bro!
never understood the self method cause i didnt get anyone explain it that good as you did, straight to the point for dummies, best teacher
This had made the most sense to me so far. I subscribed mostly because you chose a Corvette as the car!
Finally someone who’s not copying from Mosh. I appreciate the originality Bro Code. I must say, using cars as an example instead of pets was very helpful to me, and I can actually understand and hear much better from a video without an accident 👍🏽
This is one of the best videos for Python OOP. Thanks gentleman!
I have been trying to get my brain around Classes for a little while now. This is the easiest explanation that I have found so far. Thank you very much.
I can't tell you how much I've stressed over my project for class, only to stop by here and have that eureka moment.
Thank you so much.
This is the best video for OOP. You made it so easy to understand. Thanks bro!
you are a very good teacher , i see people that are not able to pick a example for an object. I hope that your channel cover more serious and complex stuff that well too. thanx for the effort
You made it so easy to understand. I hope to see some advanced stuff too from you. Thank you.
I'm new to programming and your videos are helping out in ways a book can't really do. THANKS!!!!!!!!!!!!!!!!!
I’ve been trying to better understand OOP and this video is a life saver!!
You really have a knack for teaching. This is great stuff!
Thanks you! The most simplified explaining of OOP...
Ur literally helping me get through my intro to programming class. Thank You!
You are a rare gem my friend. Keep up the best work!
Subbed. Thanks dude, I’ve been struggling to wrap my head around this.
Dear BroCode, thanks for covering Python oop vids. Loving your channel since 2021!
Best introduction to Python Object Oriented Programming for beginners. You saved me a lot of time.
bro i watched a 60 minute video and couldnt understand a thing u with just a 10 minute vid only and helped me more than anything, thank you so much.
Very Good tutorial! Helps a lot! I am not into OOP up until now. Thanks fot the video man! We really apprecciate it!
I hav been trying to understand this a while and you cleared up a lot of information for me. Thanks .
I started with your java course in this channel and... You still giving me the answers when I dont get something working. Magic
Thank you for all your videos. They are really helpful and also superbly produced.
A lot of videos about python topics stretch into the hour-long mark and are a headache to get through. Been struggling the last couple of days to get a handle on OOP in Python, but this video gave me a real foundational understanding of it which should help me learn a ton.
Thank you, Bro Code. Your video is the best video I've seen about Object-Oriented Programming (OOP) in Python. Your explanation made everything clear and helped me understand all the concepts I had in mind.
I was having such a difficult time with oop so this was extremely helpful. Thanks a ton wish u all the best
I've become pretty comfortable with procedural programming in C and FORTRAN but am now trying to teach myself Python through the documentation tutorial which left me a bit confused until watching this video. Thanks for the explanation!
Crazy. My Python course is in swedish and I'm swedish. I've had trouble grasping everything until I saw this 10 min video in english describing it. I guess growing up with the internet being primarily in english (late -90s early 2000) left its mark. Thank you Bro Code!
That was such a clear explanation, awesome work bro!
This was really concise and helpful. This is what I was looking for. Thank you! :)
nah, bro, its crazy how a 10 minute vid can teach more than 3 hours at my uni. amazing video dude!
WAW, what an amazing tutorial! Thank you so much!
Dude this was an amazing explanation. Thanks for making this.
This is still an amazing explanation. I already knew OOP but I was like, lets give this a shot. Glad I did. Spent the 10 minutes looking and listening without a need to stop the vid or a need to say "ahh already know this". Explained to beginners, strengthened knowledge for others!
One of the best OOP tutorials fr.
Thank you so much, really helped me! PS: you got a new subscriber!
As someone who knew what OOP was but forgot bits and pieces about it, this video was great for relearning and revising OOP
Bro, Your explanations are vivid. You're a great teacher
Seeing the acronym POOP I already know this will be good shi* hahaha
But seriously, I've watched other explanations here on youtube and they seem to always assume that I already know words like object, attributes, method, and all that stuff while at the same time putting "for beginners" in their title. Even if they explain it, they will just say the definition and the sample code and I'm still confused.
But you just solved all my confusions from other videos in like a couple of seconds by telling me the examples around you and just like that I already know what it means. You really are a bro, bro. ❤
Thanks bro i really appreciate, been stuck on oop for some days on my course and every other video seemed to make it even harder to understand. But yours finally helped me out, u just earned a new loyal subscriber
Bro, this is one of the easiest to understand and to the point for this foundational topic on TH-cam. Thank you Bro! ;-)
Bro, thank you so much for this video. I've just begum my programming proccess and I always find myself comming back to this video while working on my personal projects. Thak you so SO much
OOP doesn't make much sense unless you have an architect and a programming team. It's hardly useful for "personal projects".
Amaaazing!!
Absolutely to the point.
Thank you!
Thank you soldier , you're a life-saver
Totally cleared up some massive confusion in n my end. Thank you!
Great video! I have a much better understanding of OOP in Python now
Very clear and to the point, thanks Bro :)
OOP now is a lil bit clearer. Thank you, brother.
This was an excellent refresher!
This is cool to learn basic OOP for Python, Thanks!
We are literally 9 minutes and 59 seconds away from realising the part in the original Matrix film where neo closed his eyes and shook for 5 seconds and said "i know kung fu" 😂 i shook for 10mins but i still got to learn object orientated programming 😂 your the best bro. Salute to you.
Great video, great instructor, great examples! I struggled with the "self" keyword in the methods, but this helped @ 8:00 with how you explained it bluntly (self is referenced to car1). Thank you for that.
👌
Bro's voice is soothing and smooth, good for listening a long time without getting agitated.....
Thank you for making this video I now know enough to answer some interview questions about OOP, and I can't wait to learn more.
Bro explained it clearly ,best video for OOPS🙌
Really great refreshers of class to help cement that knowledge. Also entertaining video. These are and will always be gems for learning.
This video really helped me understand Classes, objects, attributes and methods along with the init methods.
Thanks, bro! This will help me in class this week for sure
Amazing video. Pretty sure it's the best one out there.
Finally someone who can explain it to normal people. Thank you👍🏾
the problem is that everyone tries to explain it like you are an idiot that can't understand abstract concepts, so they overcomplicate it.
@@gymnodinium9 ikr
Thanks a lot for the clear and easy-to-follow explanation!
Straight to the point. I love this.
Simple, shirt and practical. Thank you 🙏
Finally I understood what the constructor is for. Great video
I'm super new to coding and your explanation's are very helpful. I've subscribed, liked and commented Thanks!
I never thought I’d have so much fun learning about poop. You never cease to amaze me, Bro Code 💪❤️
This was so helpful and well explained. Thank you very much!
💥 Excellent breakdown‼️
Fantastic video addressed to my confusion about self.attributes
Awesome video, bro!
Ismael Bakali from morocco. this videos are relly the best. they helped me to learn faster.. thinks .
Easy to follow through. Great explanation 👍
Great video! Explained very well in a concise manner. Thanks Bro!
Very well explained, thank you.