Calling a method using an argument
Diez B. Roggisch
deetsNOSPAM at web.de
Thu Feb 3 15:30:15 EST 2005
>
> def test(self, method, *args):
> return getattr(self, method)(*args)
Yup, forgot abount that.
--
Regards,
Diez B. Roggisch
More information about the Python-list
mailing list