+ 1
Please explain about _init_ and self method in python ?
2 ответов
+ 6
__init__ is called when you create an instance
self means object instance and you can change it to whatever you want
https://stackoverflow.com/questions/625083/JUMP_LINK__&&__python__&&__JUMP_LINK-init-and-self-what-do-they-do
+ 1
thanks man