hi, all:
for example, the following class:
class test:
def funca(self):
print "in funca"
def funca(self):
print "in funca"
def funcb(self):
print "in funcb"
print "in funcb"
t = test()
t.funca()
In the plain way, i will excute the funca by the code "t.funca() ",
but if i wanna to excute the funca by "t" and string "funca", how will i do?
maybe the idea is similiar to "call(t, "funca") ".
best regards.
-- http://mail.python.org/mailman/listinfo/python-list