python:python_misc:properties_in_python_classes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
python:python_misc:properties_in_python_classes [2019/02/19 22:59] – mithat | python:python_misc:properties_in_python_classes [2019/02/19 23:12] – mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Good writeups: | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
<code python> | <code python> | ||
class ClickerCounter(): | class ClickerCounter(): | ||
Line 7: | Line 11: | ||
def click(self): | def click(self): | ||
""" | """ | ||
- | | + | |
- | | + | |
""" | """ | ||
self.count = self.count + 1 | self.count = self.count + 1 |
python/python_misc/properties_in_python_classes.txt · Last modified: 2019/06/21 23:16 by mithat