x = getattr(self, source)
will work just perfectly if source
names ANY attribute of self, including the other_data
in your example.
x = getattr(self, source)
will work just perfectly if source
names ANY attribute of self, including the other_data
in your example.