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

ความคิดเห็น • 4

  • @guanjwcn
    @guanjwcn 3 หลายเดือนก่อน

    Thanks for the great video, Jake.

    • @jakeeh
      @jakeeh  3 หลายเดือนก่อน

      Thanks for your comment! Happy you enjoyed it :)

  • @drak4188
    @drak4188 4 หลายเดือนก่อน

    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 😁

    • @jakeeh
      @jakeeh  4 หลายเดือนก่อน

      Happy I was able to blow your mind 😂