Python Classes and Objects - OOP for Beginners

Publié le: 01 janvier 1970
sur la chaîne: Python Simplified
627,144
21k

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:
   • OOP Class Inheritance and Private Class Me...  

⭐ Practice everything you've learned in this video in my Forest of Objects code along:
   • Draw a Forest of Random Tree Objects with ...  

⭐ Practice everything you've learned with a fun Pygame Car Game
   • OOP with Pygame - Object Oriented Programm...  

⌚ 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 🐍
   • Video  

➰ My Python For Loops Tutorial ➰
   • Python For Loops - Programming for Beginners  

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Classes and Objects - OOP for Beginners durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Python Simplified 01 janvier 1970, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 627,144 fois et il a aimé 21 mille téléspectateurs. Bon visionnage!