Como Sair do Zero em Classes no Python - Self e Init Explicados

CLICK HERE TO LEARN MORE ABOUT THE COMPLETE PYTHON IMPRESSIONADOR COURSE: https://lp.hashtagtreinamentos.com/es... TO DOWNLOAD THE FREE PYTHON MINI-COURSE: https://pages.hashtagtreinamentos.com... ----------------------------------------------------------------------- ► Python Series - Game Creation - Website Creation with Django: https://pages.hashtagtreinamentos.com... ► Guidance Video Objects:    • O que é Orientação a Objeto em Python? Voc...   ► PyCharm Installation Video:    • Como Instalar o PyCharm no Windows - Utili...   ----------------------------------------------------------------------- If you prefer the video in text format: https://www.hashtagtreinamentos.com/c... ----------------------------------------------------------------------- Hey everyone! Today I want to show you an introduction to creating classes in Python so you can understand how these classes work. In this lesson we will work with object-oriented programming, so this knowledge will be very important for you to understand classes. Having this knowledge of object-oriented programming in Python (we have videos on the subject here on the channel) already makes it easier to understand `self` and `init` in Python. Whenever you create a class you will have to use the `init` function, which is to initialize that class, that is, to insert the class's characteristics. To create the functions of our object, we will use the class methods, allowing us to create objects in Python with their characteristics and functions. The first example we use is a remote control, so we have the characteristics of this control as well as the functions of the control, which are the actions of each button. Later, we will have another practical example of classes in Python so that you can solidify your knowledge and start using object-oriented programming in your larger projects! Remember that we are using the PyCharm Python editor, as it helps and also automatically adds the (self) so you don't forget! ----------------------------------------------------------------------- Hashtag Programming ► Subscribe to our channel: http://bit.ly/3c0LJQi ► Activate notifications (click the bell)! ► Like our video! ----------------------------------------------------------------------- Social Media ► Blog: https://bit.ly/2MRUZs0 ► YouTube: http://bit.ly/3c0LJQi ► Instagram: https://bit.ly/3o6dw42 ► Facebook: http://bit.ly/3qGtaF2 Here on the Hashtag Programming channel, we teach various Python tips so you can develop your skills in this programming language! ----------------------------------------------------------------------- #python #hashtagprogramacao