Learn Python • #11 Classes • Create and Use Classes in Python
HTML-код
- Опубликовано: 25 июн 2024
- Classes are like a blueprint for creating your own reusable data structures in Python.
They allow you to define your own custom data types, with properties and methods that can be accessed and manipulated from other parts of your code.
In this video, you'll learn the basics of creating and using classes in Python. We'll cover why classes are useful, how to define them, and how to create instances of classes.
This video is part of a beginner tutorial series for anyone who wants to learn Python from scratch, and get to a point where you can start coding your own projects.
🔗 Project Code (GitHub): github.com/pixegami/python-fo...
🔗 Full Playlist: • Python For Beginners (...
🔗 Next Chapter: Coming Soon!
👉 Follow me on Twitter: @pixegami
📚 Chapters
00:00 - Introduction to Classes in Python
01:33 - How to Create a Class
04:53 - Creating an "Instance" of a Class
08:40 - Instance Methods
10:49 - Method Arguments
12:38 - Static Variables
15:30 - Static Methods
19:15 - Example Uses of Classes
20:53 - Coding Exercise: Classes
This was amazingly helpful and assisted in completing my first independent project. Thank you!
How can i set my terminal output like you??
Awesome video! So simple and clear explenation, thx and need more 👍
Thanks! I plan to make more like this, stay tuned :)
THANK YOU FOR THIS!
You're welcome!
thank you for another OUTSTANDING video, i've learned a lot, keep it up sir please
You're welcome!
lots of leaning though the gaming code i was off lol