Hi Oliver. I have idea regarding " __init__" method/ class.but still I have confusion on "def __init__(self): " Please share your under standing.
Thanks & Regards, San On Tue, Apr 26, 2016 at 2:14 PM, Oliver Bestwalter <[email protected]> wrote: > Hi Santanu, > > without knowing from which level of understanding you are asking, it is > hard to say what we should answer here, so let me ask a few questions: > > Do you understand the concept of classes already? Maybe from other > programming languages, or are you a complete beginner? If you are a > beginner you might be moving a bit fast and not actually not need to know > about the internal mechanics of classes. > > Did you read the documentation about classes already? > https://docs.python.org/3.5/tutorial/classes.html > > Did you read the documentation about the __init__ method already? > https://docs.python.org/3.5/reference/datamodel.html#object.__init__ > > cheers > Oliver > > On Tue, 26 Apr 2016 at 10:29 Santanu Jena <[email protected]> wrote: > >> Hi, >> >> Pls let me why >> " >> def __init__(self): >> >> " >> declaration required, what's the use of this one.Pls explain me in >> details. >> >> Thanks in advance. >> _______________________________________________ >> Tutor maillist - [email protected] >> To unsubscribe or change subscription options: >> https://mail.python.org/mailman/listinfo/tutor >> > _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
