Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python class static variable

>>> class MyClass:
...     i = 3
...
>>> MyClass.i
3 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #class #static #variable
ADD COMMENT
Topic
Name
5+9 =