make method inside class either classmethod or instance method then you can access all class instance property or varable inside method if method is instance method or if class method then class property you can access inside method
class A():
a = 0
def aa(self):
"""instance method"""
print self.a
@classmethod
def bb(cls):
"""class method"""
print cls.a