How to use a string containing a class name to reference a class itself? See this (not working) exemple...
class WrapperClass: def display_var(self):
Your example would work if you called print self.__class__.var. I don't think there's any need to use the name.
print self.__class__.var