Python Classes and Objects - OOP for Beginners

preview_player
Показать описание
In this tutorial, we will learn about Python Classes & Objects in great detail!
I've been promising this for a while now, but we're finally diving into Object-Oriented Programming!
In Python, almost everything is an object! (including lists, strings, integers, dictionaries and etc.)
With classes can create new kinds of objects and define their own methods and attributes.
Where attributes represent data about the object such as: name, colour, speed, size. And methods represent functionality or tasks associated with the objects, such as: drawing the object to the screen, changing its speed or size.
After you watch this - you'll be much more comfortable with using classes in your GUI projects 💪
So if you're ready to step up your programming game - this video is a great starting point! 😉

🛑 RELATED TUTORIALS 🛑
**********************************
⭐ Super Init, Class Inheritance and Private Class Members:

⭐ Practice everything you've learned in this video in my Forest of Objects code along:

⌚ Time Stamps ⌚
***********************
00:00 - Python Objects
00:32 - Attributes
01:44 - Parameters
02:20 - Methods
03:35 - Local Variables
04:37 - Init Method
05:25 - Self Parameter
06:08 - JavaScript Constructor
06:17 - Object-Oriented Programming (OOP)
06:42 - Terminology
07:14 - Up Next & Thank You
07:55 - Connect with Me

*************************
🐍 My Python Installation Tutorial 🐍

➰ My Python For Loops Tutorial ➰

*************************
The beautiful icons used in this video are from:
Thank you! 😀
Рекомендации по теме
Комментарии
Автор

Amazing video!. Classes are very good to make your code more efficient and better looking for other developers to understand it. Variables also can be used under the class name and it's better because you can access it in every function, it's good to use that method if your variable will change constantly.

ZurioSi
Автор

thank god somebody understands how to explain things directly and without added obfuscation. thanks

gotem
Автор

the best thing in your videos is that every word you say has a different meaning and that makes every part of the video valuable.
Thank you so much for your work.

kothecompetitor
Автор

32 seconds and it has already made more sense than the 2 hour video I went through on a training my company paid for. Thank you

kyoujinko
Автор

I really like your teaching "flow" and and how animated you are without being overdone in any direction. I truly enjoy your videos because it really seems as though you enjoy making them. It's almost like you have this confidence that says "I will make you understand, " but in a very nice way.

jonthecomposer
Автор

I’m currently learning Python in a coding boot camp. I must say that her explanations are quite clear.

williamwesley
Автор

You're really stepping up the production quality, really good! I might actually use some ideas for my own teaching. Looking forward to the rest of the series!

CHITUS
Автор

I can't express in words how wonderful and easy it was to understand. I love when people literally DRAW to explain. Also liked the fact she spoken slowly so you don't get smashed with thousands of new concepts in seconds.

Igor-vkfl
Автор

You made this so simple for me. Your cadence was perfect, and you didn't leave out explanations for anything that was confusing. Thank you so much!!!

Kaznerh
Автор

You've made coding so much better, Thank you!! much easier to listen to you explain things. I learn a lot from your videos. Plus you have a soothing voice that doesn't get annoying.

martothecelo
Автор

This was really tremendous Mariya. You have an excellent ability to educate. The way you broke everything down, and the flow you used, were exceptional. In addition, you were extremely articulate and your inflection and enthusiasm made this very easy to watch. Bravo! I subscribed.

revolutioncancer
Автор

From what I understand, I can literally take these types and design and create and make anything from them. Games, apps, websites, software, antivirus, the list is huge. Thank you for this.

son_of_hiskingdom
Автор

It is immediately obvious when an instructor takes the time to prepare a class. I learned more in this 8 minutes video, than in a 2 hour class at the university. All key points covered, no time wasted. You got a new subscriber and a like!

juanc
Автор

I love the explanation, it’s very detailed. Would love some more examples so that it can be more nourished and easier for beginners like me to take it. Please make more videos as these based on OOPS concepts, it helps in understanding and answering interview questions. God bless!

DucatiSydney
Автор

I love your voice! This is like a Python coding ASMR for me, haha.

freddiedejesus
Автор

You've got a knack for teaching, You legit explained class instances better in 8 mins, than in my 45 min class instancing lecture lol. Not to mention the animations and whatnot while you were explaining really helped to cement it into my brain!

Ryan-
Автор

I just discovered your channel !! I love that there are people who share their knowledge and encourage others to start in the world of programming. I encourage you to continue making this great language known as Python! \m/

killrguitar
Автор

Love that your examples are so simple but very concrete and fleshed out so we could actually write code looking at it. The fruits class was a great way to show how you'd write the code and call instances, intuitive as well. Great video.

SaraTommat
Автор

God I love this! The explanation is so simple and elegant, amazing for total beginners! Thumbs up and keep up the good work! :D

cxvxcbcxn
Автор

wow you nailed the OOP overview in under 8 minutes with very clear examples and clean visuals. Including the explanation of scope (self) as part of the intro in the way that you did was also... awesome!

kevinmills