Python Classes and Objects – OOP for Beginners



Python Classes and Objects – OOP for Beginners

Python Classes and Objects - OOP for Beginners

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:
https://youtu.be/6c6NYPjO_rI

⭐ Practice everything you’ve learned in this video in my Forest of Objects code along:
https://youtu.be/-LsuiVGO-88

⌚ 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 🐍
https://youtu.be/FZ5baopI_mo

➰ My Python For Loops Tutorial ➰
https://youtu.be/dHANJ4l6fwA

*************************
The beautiful icons used in this video are from:
https://www.flaticon.com/
Thank you! 😀

Comments are closed.