[EMAIL PROTECTED] wrote:
1. return string names of required methods in getAllMethod return ['method1', 'method2', 'method3'] 2. use gettattr on self and then exetute methods in applyAll def applyAll(self): for method_name in self.getAllMethod(): method = gettattr(self,method_name) method() #execute method now
why? </F> -- http://mail.python.org/mailman/listinfo/python-list