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

Комментарии • 9

  • @corysibert6843
    @corysibert6843 Год назад

    This was amazingly helpful and assisted in completing my first independent project. Thank you!

  • @omarvega6940
    @omarvega6940 11 часов назад

    How can i set my terminal output like you??

  • @krzysiekkrzysiek9059
    @krzysiekkrzysiek9059 11 месяцев назад +1

    Awesome video! So simple and clear explenation, thx and need more 👍

    • @pixegami
      @pixegami  10 месяцев назад +1

      Thanks! I plan to make more like this, stay tuned :)

  • @anjelicjay8684
    @anjelicjay8684 11 месяцев назад +1

    THANK YOU FOR THIS!

    • @pixegami
      @pixegami  10 месяцев назад

      You're welcome!

  • @dataengineermatheusbudin7011
    @dataengineermatheusbudin7011 11 месяцев назад +1

    thank you for another OUTSTANDING video, i've learned a lot, keep it up sir please

    • @pixegami
      @pixegami  10 месяцев назад

      You're welcome!

  • @neroetal
    @neroetal 3 месяца назад

    lots of leaning though the gaming code i was off lol