How to Start from Scratch in Python Classes - Self and Init Explained

205,707 views

Hashtag Programação

Published on Nov 27, 2021
About :

CLICK HERE TO LEARN MORE ABOUT THE AWESOME COMPLETE PYTHON COURSE: https://lp.hashtagtreinamentos.com/es... TO DOWNLOAD THE FREE PYTHON MINI COURSE: https://pages.hashtagtreinamentos.com... ----------------------------------------------------------------------- ► Python Series - Creating Games - Creating Websites with Django: https://pages.hashtagtreinamentos.com... ► Object Orientation Video: • What is Object Orientation in Python... ► PyCharm Installation Video: • How to Install PyCharm on Windows - ... ----------------------------------------------------------------------- If you prefer the video in text format: https://www.hashtagtreinamentos.com/c... ----------------------------------------------------------------------- Hey Guys! Today I want to show you an introduction to creating classes in Python so that you can understand how these classes work. In this class, we will work with object-oriented programming, so this knowledge will be very important for you to understand classes. Having this knowledge of object orientation 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 this class, that is, to insert the characteristics of the class. To create the functions of our object, we will use the methods of the class, so we will be able to create objects in Python with their characteristics and functions. The first example we use is of the 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 consolidate your knowledge and start using object orientation in your larger projects! Remember that we are using the Python editor PyCharm, because it ends up helping and even inserts the (self) automatically so that you don't forget! ----------------------------------------------------------------------- Hashtag Programming ► Subscribe to our channel: http://bit.ly/3c0LJQi ► Turn on notifications (click the bell)! ► Like our video! ----------------------------------------------------------------------- Social Networks ► Blog: https://bit.ly/2MRUZs0 ► YouTube: http://bit.ly/3c0LJQi ► Instagram: https://bit.ly/3o6dw42 ► Facebook: http://bit.ly/3qGtaF2 Here in the videos of the Hashtag Programming channel we teach several Python tips so that you can develop in this programming language! ----------------------------------------------------------------------- #python #hashtagprogramacao

Trend Videos
17:10
744,122 views   2 days ago
10:24
26:20
10:24
26:20
8:31
233,144 views   6 days ago
Google AdSense
336 x 280
Up Next
26:57
BETO GAMER
199,729 views
1 year ago
38:12
21:52
Robin Hood Gamer
1,830,381 views
1 year ago
28:00
BETO GAMER
1,224,994 views
1 year ago
16:03
HeyDavi
4,942,214 views
2 years ago
20:11
HeyDavi
37,902 views
1 day ago
24:13
25:04
ProbIems
610,122 views
1 day ago
29:49
BETO GAMER
1,636,318 views
1 year ago
29:26
BETO GAMER
658,713 views
1 year ago
39:53
HeyDavi
2,281,196 views
1 year ago
17:53
32:16
BETO GAMER
635,446 views
10 months ago
1:13:32
Arqueiro Boladão
10,572,822 views
1 year ago
24:46
Robin Hood Gamer
7,952,621 views
2 years ago
14:28
이지금 [IU Official]
581,409 views
1 year ago
23:13
MMTG 문명특급
1,121,686 views
3 years ago
43:51
BANGTANTV
4,854,300 views
1 year ago
Google AdSense
336 x 280

fetery.com. Copyright 2024