Python Tutorial For ABSOLUTE Beginners #7 - Classes and Objects

Опубликовано: 10 Август 2022
на канале: Austin Davis
230
6

Welcome back to the Python for ABSOLUTE Beginners course, and in this episode we're covering classes and objects. You'll learn what classes and objects are, how to write classes, how to create objects, and how to mess around with objects in general.

I want to make a disclaimer that classes are more difficult than stuff we’ve gone over so far, and there’s a decent amount more to classes than what I’m covering in this video. However, this video should give you a great starting point! I will likely talk more in-depth about classes in the future.

Below are the timestamps:

0:00 - Intro
0:22 - Two Programming Styles
1:14 - Where Python Fits
1:44 - Basic Class Examples
2:23 - Creating a Class
3:44 - Writing Initialization Function
6:33 - Creating Objects of Class
10:33 - Accessing Object Properties
12:43 - Updating Object Properties
13:30 - Writing Functions Inside Class
15:30 - Getter Functions
16:27 - Setter Functions
18:14 - Outro

If you found this video (or this series) helpful at all, please subscribe for more content, or just leave a like or comment below. It helps out my engagement a ton and would get my videos recommended to more people wanting to get into programming!

Resources:
https://www.w3schools.com/python/pyth...
https://www.geeksforgeeks.org/python-...
https://docs.python.org/3/tutorial/cl...