Obtaining an member function by name

guy lateur guy.lateurNNOOSSPPAAMM at pandora.be
Sat Nov 19 15:12:25 CET 2005


Hi all,

Suppose you have this class:

class foo:
    def bar():

Suppose you also have the strings "foo" and "bar". How can you obtain the 
function foo.bar()?

Surely somebody knows..

TIA,
g





More information about the Python-list mailing list