I'm trying to declare static variable and now my code is:
class StaticClass:
varA = 'hello'
@staticmethod
def staticMethod():
varA='bye'
Result of code below is hello. Why not 'bye' ?
StaticClass.staticMethod()
print StaticClass.varA