def __repr__(self):
        """Return a suitable string representing of this instance."""
        attributes = []
        for i in self.__attributes__:
            try: 
                value = getattr(self, i)
            except: 
                value = "Undefined"
            attributes.append("%s=%s" % (i, value))
        return "<%s %s>" % (self.__class__.__name__, " ".join(attributes))
Return a suitable string representing of this instance.
recipes/Python/363773_AutomaticClass/recipe-363773.py