Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

what is self in python constructor

The self parameter is a reference to the current instance of the class, and is used to access variables that belongs to the class.
 
PREVIOUS NEXT
Tagged: #python #constructor
ADD COMMENT
Topic
Name
5+1 =