Can I access a class variable from an instance?

Use self.__class__.classAttr. This should work for both old & new style classes.

Leave a Comment