Constructors in Python - Intro tutorial to the __init__  magic method for initializing new objects

Constructors in Python - Intro tutorial to the __init__ magic method for initializing new objects

Kris Jordan

3 года назад

16,438 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

cristi gheorghiu
cristi gheorghiu - 20.04.2023 14:32

Such a masterpiece class.
Thank you, sir.

Ответить
GamingGhostXD
GamingGhostXD - 19.01.2023 15:10

why

Ответить
B Rex
B Rex - 21.09.2022 20:06

Thanks very much for that. I've been struggling to understand it for quite a while now, but that was a well explained and understandably articulated explanation.

Ответить
Victor Robles Fernández
Victor Robles Fernández - 25.05.2022 16:13

just amazing kris!

Ответить
Adam Mohammed
Adam Mohammed - 24.04.2022 22:09

How do I set magic in the constructor _int_ not passed as a parameter

Ответить
Tariq Elamin
Tariq Elamin - 24.04.2022 02:25

dose anyone knows why cant we just say x = float instead of x : float

Ответить
peter doe
peter doe - 10.02.2022 16:09

By far is the best explanation of init method

Ответить
Mustafa
Mustafa - 04.02.2022 00:22

This is such a fantastic tutorial, I feel so lucky that I stumbled across this channel lol, Thank you for this Kris 🙂

Ответить
Error042
Error042 - 25.08.2021 21:36

Thank you Kris. This Video helped me so much to get a grip on this whole concept of construct and deconstruct. Also the way of drawing over the screen and seeing your face talk to me and not just a screen was pretty good. :)

Ответить