Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

__str__

def __str__(self):
        return self.name
Source by www.pythontutorial.net #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+9 =