+ 1

Please explain about _init_ and self method in python ?

6th Oct 2018, 1:18 PM
Praveen Kumar
Praveen Kumar - avatar
2 Antworten
+ 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
6th Oct 2018, 2:14 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 1
thanks man
6th Oct 2018, 4:45 PM
Praveen Kumar
Praveen Kumar - avatar