calling obect method

srinivasan srinivas sri_annauni at yahoo.co.in
Thu Jul 30 15:04:09 EDT 2009


Hi,
I would like to know if i have an object and one of its methods as a string. How to call the method using this string?
For ex
If object is x and string y has one of its method names. 
x.value(y)() ---. Is there a way to do this?

Thanks,
Srini


      See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/



More information about the Python-list mailing list