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
11:24
433,908 views   3 days ago
11:06
518,423 views   3 days ago
2:59
9:37
11:34
1,614,384 views   8 days ago
9:37
11:06
518,423 views   3 days ago
3:11
22,492,354 views   2 days ago
Google AdSense
336 x 280
Up Next
0:31
Бионическая Россия
734,156 views
1 day ago
3:58
1:00
МАШ МИЛАШ
1,231,145 views
1 day ago
0:13
Elena Bogdanovich
243,951 views
1 day ago
0:34
0:12
Zidaan Shahid Aly
21,126,689 views
3 days ago
0:25
ХА ХА 3 РАЗА
268,297 views
1 day ago
22:14
Fanny Cecilia
132,654 views
2 years ago
22:54
Fanny Cecilia
58,902 views
1 year ago
17:01
Hailey Reinhold
165,403 views
8 months ago
39:15
Fanny Cecilia
158,712 views
1 year ago
23:57
Erika Bergh
69,274 views
2 years ago
24:32
Fanny Cecilia
83,403 views
2 years ago
23:35
Julia Fröhlich
153,515 views
3 years ago
35:16
Fanny Cecilia
69,389 views
1 year ago
19:18
Denise och tjejerna
49,575 views
3 months ago
27:20
Hailey Reinhold
109,557 views
7 months ago
13:03
En Rullande Talkshow
1,377,523 views
3 years ago
3:51:50
Margareta Grääs
232,195 views
Streamed 11 months ago
28:39
Fanny Cecilia
70,174 views
1 year ago
15:05
30:34
Fanny Cecilia
61,400 views
1 year ago
13:05
Google AdSense
336 x 280

fetery.com. Copyright 2024