C
C Gillespie
Dear All,
I have a simple class
class hello:
def world(self):
return 'hello'
def test(self,arg):
return self.arg
When I want to do is:
i.e. pass the method name as an argument. How should I do this?
Thanks
Colin
I have a simple class
class hello:
def world(self):
return 'hello'
def test(self,arg):
return self.arg
When I want to do is:
'hello'hello.test('world')
i.e. pass the method name as an argument. How should I do this?
Thanks
Colin