More on __init__:boot up?


so plz explain me : you can think of init() as the method that "boots up" a class' instance object
what does "boot up" mean? thanking u in anticipation


__init__() is a method, to be more specific its a magic method, its automatically called when you create a class instance

so in a way its boots up your class instance


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.