<div>hi, all:</div>
<div>  for example, the following class:</div>
<div>class test:<br>    def funca(self):<br>        print  "in funca"</div>
<div>    def funcb(self):<br>        print  "in funcb"</div>
<div>t = test()</div>
<div>t.funca()</div>
<div> </div>
<div>    In the plain way,  i will excute the funca by the code "t.funca() ",</div>
<div>but if i wanna to excute the funca by "t" and string "funca", how will i do?</div>
<div> </div>
<div>maybe the idea is similiar to "call(t, "funca") ".</div>
<div> </div>
<div>best regards.</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>