Learn Python • #11 Classes • Create and Use Classes in Python

Опубликовано: 06 Апрель 2023
на канале: pixegami
6,846
174

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): https://github.com/pixegami/python-fo...
🔗 Full Playlist:    • Python For Beginners (Full Course)  
🔗 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


На этой странице сайта вы можете посмотреть видео онлайн Learn Python • #11 Classes • Create and Use Classes in Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь pixegami 06 Апрель 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 6,846 раз и оно понравилось 174 зрителям. Приятного просмотра!