jepler at jepler at
Tue Dec 6 01:03:21 CET 2005

First, get the method with getattr() and then use the *-notation or
apply to call it with args.
    getattr(obj, func_name)(*args)
    apply(getattr(obj, func_name), args)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <>

More information about the Python-list mailing list