Re: dynamic call of a function

2005-01-22 Thread Nick Coghlan
kishore wrote: Hi Luigi Ballabio, Thankyou very much for your reply, it worked well. It does work in most cases, but "getattr(self, methodName)" is generally to be preferred over "vars(self.__class__)[methodName]", as the latter does not use Python's standard attribute lookup scheme. The semanti

Re: dynamic call of a function

2005-01-22 Thread kishore
Hi Luigi Ballabio, Thankyou very much for your reply, it worked well. Kishore. Luigi Ballabio wrote: > At 10:37 AM 10/19/01 +0200, anthony harel wrote: > >Is it possible to make dynamic call of a function whith python ? > > > >I have got a string that contains the name of t