Python Object Oriented Programming in 10 minutes 🐍

  Рет қаралды 318,119

Bro Code

Bro Code

3 жыл бұрын

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")
#------------------------------------------------------------------
Bro Code merch store 👟 :
===========================================================
teespring.com/stores/bro-code-5
===========================================================
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...
===========================================================

Пікірлер: 675
@BroCodez
@BroCodez 3 жыл бұрын
Learn the basics of POOP in 10 minutes! Also don't forget to SMASH that LIKE button and drop a comment down below for the YT algorithm 🙏 #----------------------------------------------------------------- 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") #-----------------------------------------------------------------
@notsaeed
@notsaeed 3 жыл бұрын
"POOP"
@GaryChike
@GaryChike 2 жыл бұрын
The French acronym is literally "POO" 💩
@chiranjivibaduwal8239
@chiranjivibaduwal8239 Жыл бұрын
Hi bro
@TornadoPro2712
@TornadoPro2712 Жыл бұрын
if python object oriented programming had a color it would be brown XD
@uzowuluonyinye8945
@uzowuluonyinye8945 9 ай бұрын
Thank you bro❤❤❤❤❤
@zain__ua
@zain__ua 3 жыл бұрын
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 :)
@popupanimations1857
@popupanimations1857 2 жыл бұрын
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.
@jaylooppworld381
@jaylooppworld381 2 жыл бұрын
i felt the same
@shaneb395
@shaneb395 2 жыл бұрын
Same, I tried learning Java maybe 20yr ago as a kid, couldn’t do it, OOP was too abstract
@hannahlocalio7011
@hannahlocalio7011 2 жыл бұрын
SAME. This fits perfect for my assignment that im struggling on. So helpful
@noname0662
@noname0662 Жыл бұрын
@@popupanimations1857 tech with tim sucks!
@emmakatovich2438
@emmakatovich2438 2 жыл бұрын
Taught me more in 10 minutes than my professor has in two months
@sara-zv5pb
@sara-zv5pb Жыл бұрын
ong
@bettinanoszaly8223
@bettinanoszaly8223 Жыл бұрын
Yup, same same. Congrats for the video @bro
@Fakecloak
@Fakecloak 7 ай бұрын
😂
@marcomallia8423
@marcomallia8423 Жыл бұрын
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!
@SmoothCoaxing
@SmoothCoaxing 2 жыл бұрын
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!
@muhammaduzairkabeer8354
@muhammaduzairkabeer8354 2 жыл бұрын
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.
@IYoseff
@IYoseff 2 жыл бұрын
Unbelievably straight forward, surely gonna be watching your other videos soon. Thanks for the great work!
@nathanconley3547
@nathanconley3547 6 ай бұрын
You simplified this perfectly. No BS explanation and I am here for it, after spending too much time learning this through over complicated means.
@ch0wderz912
@ch0wderz912 2 жыл бұрын
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!
@benfrost5317
@benfrost5317 2 жыл бұрын
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.
@Xxfrost95xX
@Xxfrost95xX 2 жыл бұрын
Straight to the point. Really clear. Thx :)
@MrChrisgZ
@MrChrisgZ 2 жыл бұрын
This was such an easy way to understand as some who just started coding a few days ago. Thank you!
@oyebisidara6624
@oyebisidara6624 9 ай бұрын
I got more understanding about OOP from this than any OOP material I've come across in the last two years. Thanks.
@yamashitamoleya7861
@yamashitamoleya7861 2 жыл бұрын
YOU KILLED IT!! GREAT STEP BY STEP BREAK DOWN.... THANK YOU
@dipanjanpalchowdhury6012
@dipanjanpalchowdhury6012 2 жыл бұрын
Short and precise, just what I was looking for. Thanks :)
@empowercode
@empowercode 3 жыл бұрын
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 KZbin Journey and can't wait to watch your next upload. Cheers, happy holidays, and keep up the great work :)
@MrUnstoppableHeart
@MrUnstoppableHeart Жыл бұрын
Thanks, as someone who already knows how to program, I appreciate how fast you went through syntax (which is really all im looking for)
@Kemmydai
@Kemmydai Жыл бұрын
Brillant, Concise, Comprehensive, Simplified Thats the exact definition of this video. Thank you so much!
@Hurtcules
@Hurtcules 2 жыл бұрын
This is a great tutorial for someone to get a quick idea about oop. I suggest following along with the exercise.
@spowers0409
@spowers0409 Жыл бұрын
This had made the most sense to me so far. I subscribed mostly because you chose a Corvette as the car!
@KS-ko2zl
@KS-ko2zl 2 жыл бұрын
You made it so easy to understand. I hope to see some advanced stuff too from you. Thank you.
@FilipTomaMC
@FilipTomaMC Жыл бұрын
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
@dsadams17
@dsadams17 2 жыл бұрын
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.
@GoingUpNorth
@GoingUpNorth 9 ай бұрын
So many other comments are already saying it, but it is true, a very clear and straightforward explanation of classes and methods. Great video.
@smellyskunk6189
@smellyskunk6189 9 ай бұрын
You are a rare gem my friend. Keep up the best work!
@GEB_rosee
@GEB_rosee Жыл бұрын
nah, bro, its crazy how a 10 minute vid can teach more than 3 hours at my uni. amazing video dude!
@gymnodinium9
@gymnodinium9 10 ай бұрын
I love u , everyone that explains OOP complicate everything, you make it so simple , ty :D
@classytong2485
@classytong2485 24 күн бұрын
Very easy to understand lecture on OOP. Agree this is the best video on OOP I have watched on KZbin
@xzex2609
@xzex2609 Жыл бұрын
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
@benjaminbialy6284
@benjaminbialy6284 2 жыл бұрын
great explanation man. the simplicity of which you explain it has given me some confidence to go and implement it myself!
@Ali-dx2ns
@Ali-dx2ns Жыл бұрын
Thank's so much bro 10 minute wow every opp tut is over1 hour you are the best on KZbin !^_^
@sophiarubens8329
@sophiarubens8329 Жыл бұрын
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!
@kendiener5447
@kendiener5447 11 ай бұрын
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.
@tobitv123
@tobitv123 5 ай бұрын
Ur literally helping me get through my intro to programming class. Thank You!
@xXxXLostVoiceXxXx
@xXxXLostVoiceXxXx 2 жыл бұрын
Subbed. Thanks dude, I’ve been struggling to wrap my head around this.
@themob100
@themob100 Жыл бұрын
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 👍🏽
@JesusHernandez-dh1mo
@JesusHernandez-dh1mo Жыл бұрын
I started with your java course in this channel and... You still giving me the answers when I dont get something working. Magic
@gluttonydemon
@gluttonydemon Жыл бұрын
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.
@coar119
@coar119 Жыл бұрын
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.
@renysand
@renysand 2 жыл бұрын
Thank you for all your videos. They are really helpful and also superbly produced.
@agentprismarine2778
@agentprismarine2778 Жыл бұрын
As someone who knew what OOP was but forgot bits and pieces about it, this video was great for relearning and revising OOP
@caiorimoli3466
@caiorimoli3466 Жыл бұрын
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 =)
@JIREN972
@JIREN972 10 ай бұрын
This dude explained OOP better than chatGPT💀
@MrPK-en6nv
@MrPK-en6nv 2 жыл бұрын
This is one of the best videos for Python OOP. Thanks gentleman!
@SadhamHussainsree
@SadhamHussainsree 2 жыл бұрын
This is the best video for OOP. You made it so easy to understand. Thanks bro!
@rajanroland3903
@rajanroland3903 11 ай бұрын
You really have a knack for teaching. This is great stuff!
@billygene589
@billygene589 Жыл бұрын
That was such a clear explanation, awesome work bro!
@onedayzero
@onedayzero Жыл бұрын
Dude this was an amazing explanation. Thanks for making this.
@joshuamasunda1012
@joshuamasunda1012 Жыл бұрын
I was having such a difficult time with oop so this was extremely helpful. Thanks a ton wish u all the best
@AmlisSanches
@AmlisSanches 2 ай бұрын
I hav been trying to understand this a while and you cleared up a lot of information for me. Thanks .
@Kimberly-zz4te
@Kimberly-zz4te 5 ай бұрын
I'm new to programming and your videos are helping out in ways a book can't really do. THANKS!!!!!!!!!!!!!!!!!
@bappysani
@bappysani 10 ай бұрын
Dear BroCode, thanks for covering Python oop vids. Loving your channel since 2021!
@dbromero2351
@dbromero2351 6 ай бұрын
I was avoiding this topic like the plague! But, thanks to this video, I finally understand how POOP works. Thanks, Bro!
@afshin3k3
@afshin3k3 7 ай бұрын
Thanks a lot for the clear and easy-to-follow explanation!
@stefanfredin7120
@stefanfredin7120 Ай бұрын
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!
@madelineflores3534
@madelineflores3534 2 жыл бұрын
I’ve been trying to better understand OOP and this video is a life saver!!
@King.Aligator
@King.Aligator 2 жыл бұрын
Thanks you! The most simplified explaining of OOP...
@DrThier32
@DrThier32 2 жыл бұрын
Finally someone who can explain it to normal people. Thank you👍🏾
@gymnodinium9
@gymnodinium9 10 ай бұрын
the problem is that everyone tries to explain it like you are an idiot that can't understand abstract concepts, so they overcomplicate it.
@SalaarShekhani
@SalaarShekhani 9 ай бұрын
@@gymnodinium9 ikr
@duaaali3790
@duaaali3790 Жыл бұрын
Amaaazing!! Absolutely to the point. Thank you!
@Hitchxi11
@Hitchxi11 Жыл бұрын
Bro, Your explanations are vivid. You're a great teacher
@homap5270
@homap5270 19 күн бұрын
WAW, what an amazing tutorial! Thank you so much!
@TearsAnonymous
@TearsAnonymous 9 ай бұрын
Best introduction to Python Object Oriented Programming for beginners. You saved me a lot of time.
@stianmaurstad
@stianmaurstad 3 ай бұрын
Bro, this is one of the easiest to understand and to the point for this foundational topic on KZbin. Thank you Bro! ;-)
@SelfEngine101
@SelfEngine101 9 ай бұрын
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.
@toothbrush4022
@toothbrush4022 7 ай бұрын
That's the best POOP video I've seen on the internet. Thank you for sharing.
@zandydandy4642
@zandydandy4642 Жыл бұрын
Really great refreshers of class to help cement that knowledge. Also entertaining video. These are and will always be gems for learning.
@heroboy6199
@heroboy6199 3 ай бұрын
One of the best OOP tutorials fr.
@jmwoz3109
@jmwoz3109 Жыл бұрын
Totally cleared up some massive confusion in n my end. Thank you!
@arkadyutipaul246
@arkadyutipaul246 Ай бұрын
This was really concise and helpful. This is what I was looking for. Thank you! :)
@albertovalencia992
@albertovalencia992 Ай бұрын
Very Good tutorial! Helps a lot! I am not into OOP up until now. Thanks fot the video man! We really apprecciate it!
@thelonelyvoyage
@thelonelyvoyage 2 жыл бұрын
OOP now is a lil bit clearer. Thank you, brother.
@jessmathews1
@jessmathews1 7 ай бұрын
Great video! Explained very well in a concise manner. Thanks Bro!
@PoeticallyDivine
@PoeticallyDivine 2 жыл бұрын
This was an excellent refresher!
@carterjackson7460
@carterjackson7460 3 жыл бұрын
Very clear and to the point, thanks Bro :)
@cuttestpomeraniansimbafrie2600
@cuttestpomeraniansimbafrie2600 Жыл бұрын
Bro's voice is soothing and smooth, good for listening a long time without getting agitated.....
@richardmichael1639
@richardmichael1639 Жыл бұрын
This video really helped me understand Classes, objects, attributes and methods along with the init methods.
@landothemaker4340
@landothemaker4340 2 жыл бұрын
Thank you so much, really helped me! PS: you got a new subscriber!
@TomTalley
@TomTalley Жыл бұрын
Just taking up programming again after years. Decided to try python...my target is going to be the small controller systems like the esp32...I get oop's value and need desperately to understand the syntax and organization of the code in a project. Your video helped ma a great deal...thank you.
@passportbro904
@passportbro904 Жыл бұрын
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.
@plainvanillamiscellaneous6884
@plainvanillamiscellaneous6884 2 жыл бұрын
Finally I understood what the constructor is for. Great video
@ludwigvangogh4218
@ludwigvangogh4218 19 күн бұрын
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. ❤
@Adriane_Deathscythe
@Adriane_Deathscythe 11 ай бұрын
Thank you man, learned it easy and a fast way.
@samstone7670
@samstone7670 Жыл бұрын
Thank you for the simplicity and clarity
@hamideby8725
@hamideby8725 2 жыл бұрын
Thank you soldier , you're a life-saver
@plantahiperactiva
@plantahiperactiva Жыл бұрын
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
@lepidoptera9337
@lepidoptera9337 Жыл бұрын
OOP doesn't make much sense unless you have an architect and a programming team. It's hardly useful for "personal projects".
@Anmolsingh-im3hq
@Anmolsingh-im3hq 2 ай бұрын
With a little bit of practice i think i might be able to do this thank you so much bro
@rickmarek2588
@rickmarek2588 3 ай бұрын
I'm 71 year-old, very retired as I write this comment. I cut my teeth on procedural languages (e.g., Assembly Language, Cobol, Fortran, PL/1, and a couple dozen database management products on micro, mid-tier, and mainframe platforms. Object-oriented programming back then was mostly "conceptual" (with the significant exception of SmallTalk). I plunged into AI and expert system programming with Prolog (and a bit of Lisp) which had some similar concepts and language constructs. I found this video most helpful in helping me better understand the "object dot" item, but I'm not in Kansas anymore. I had decades of programming where writing tight and complete code was the objective; Python code development doesn't seem to focus on the finer details that separated the average programmers from the revered technicians. I'm sure I'll change my tune as I actually begin developing the applications that I have in mind. Thank you for the helpful introductory video. I'll keep an eye out for your other KZbin ventures into the land of Python.
@Gamingman12362
@Gamingman12362 3 ай бұрын
Wow
@capiido6426
@capiido6426 11 күн бұрын
This was so helpful and well explained. Thank you very much!
@thinwutyee171
@thinwutyee171 2 жыл бұрын
This is cool to learn basic OOP for Python, Thanks!
@bobbilderson8556
@bobbilderson8556 2 жыл бұрын
Literally shat one out while you put POOP up there. Blessing from the gods.
@IntricateMoon
@IntricateMoon 8 ай бұрын
THANK YOU FOR THIS MY BRO!!!! 🤩
@erniepaj
@erniepaj 2 ай бұрын
Straight to the point. I love this.
@Ambitious_Achiever002
@Ambitious_Achiever002 3 ай бұрын
Amazing video. Pretty sure it's the best one out there.
@clintwestwood4545
@clintwestwood4545 2 жыл бұрын
I never thought I’d have so much fun learning about poop. You never cease to amaze me, Bro Code 💪❤️
@Bigtime_Dave
@Bigtime_Dave 5 ай бұрын
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
@MindBodyStorm
@MindBodyStorm Ай бұрын
💥 Excellent breakdown‼️
@itzDJ73
@itzDJ73 Жыл бұрын
Great video! I have a much better understanding of OOP in Python now
@sinahaghani5981
@sinahaghani5981 Ай бұрын
Simple, shirt and practical. Thank you 🙏
@hashimsulaiman6003
@hashimsulaiman6003 4 ай бұрын
easy bro am helping me and you any way thanks for this piece you made a complex topic a piece of cake, I always check you out for topics that gives and headache and you don't let me down
@americanpride5540
@americanpride5540 9 ай бұрын
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.
@priyankadhage700
@priyankadhage700 2 ай бұрын
I have had tried multiple videos till sanity ! But his guy helped me with a 10 min gem content .
Python Object Oriented Programming (OOP) - For Beginners
53:06
Tech With Tim
Рет қаралды 3,2 МЛН
5 Good Python Habits
17:35
Indently
Рет қаралды 265 М.
Which one will take more 😉
00:27
Polar
Рет қаралды 41 МЛН
Mini Jelly Cake 🎂
00:50
Mr. Clabik
Рет қаралды 8 МЛН
Python OOP Tutorial 1: Classes and Instances
15:24
Corey Schafer
Рет қаралды 4,3 МЛН
Python inheritance 👪
7:19
Bro Code
Рет қаралды 68 М.
Fundamental Concepts of Object Oriented Programming
9:16
Computer Science
Рет қаралды 817 М.
Learn Python Classes With a Text-Based Battle - OOP Tutorial
15:25
Ork Slayer Gamedev
Рет қаралды 113 М.
Object Oriented Programming with Python - Full Course for Beginners
2:12:35
freeCodeCamp.org
Рет қаралды 1,6 МЛН
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,4 МЛН
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,7 МЛН
Object-oriented Programming in 7 minutes | Mosh
7:34
Programming with Mosh
Рет қаралды 3,7 МЛН
Functions in Python are easy 📞
10:38
Bro Code
Рет қаралды 349 М.
Vortex Cannon vs Drone
20:44
Mark Rober
Рет қаралды 12 МЛН
Какой Смартфон Купить в 2024 Году? Выбор бюджетного телефона
14:21
Thebox - о технике и гаджетах
Рет қаралды 263 М.
Продать одно приложение дважды
0:49
Real Emil
Рет қаралды 1,4 МЛН
У Nokia 3310 появился конкурент
0:36
AndroHack
Рет қаралды 1,8 МЛН
All New Atlas | Boston Dynamics
0:40
Boston Dynamics
Рет қаралды 5 МЛН