Properties & Data Classes | Python Classes
ฝัง
- เผยแพร่เมื่อ 10 ก.ค. 2024
- In this final video, for the Python Classes series, we are going over Properties & Data Classes! Properties allow you to make methods into a property where you can set them like a normal property like person.name = "Jake". But instead it calls a function so you can do whatever you want when you set it or get it (or even delete it!). We also go over how to make a data class in Python. Data classes are fantastic ways to make simple classes that well... hold data.
Python Classes Series: • Python Object Oriented...
Python Tutorials: • Tutorials
Past Live Streams: • Past Live Streams
Join my Discord at / discord
Thanks for watching! ❤️
Timestamps:
0:00 Intro
0:12 Properties
10:00 Data Classes
13:20 Outro
Thanks for the great video, Jake.
Thanks for your comment! Happy you enjoyed it :)
my brain now hurts, I'm going to go lay down for a few hours maybe in 10yrs I will understand what you just did but that's my fault not yours 😁
Happy I was able to blow your mind 😂