First, get the method with getattr() and then use the *-notation or
apply to call it with args.
getattr(obj, func_name)(*args)
or
apply(getattr(obj, func_name), args)
Jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDlNVIJd01MZaTXX0RAuxFAKCpZuMh589lrVsMYMkXb7 Zinb+EQQCdFgPF
S94/NDVkIl0wb+pjhB+XutI=
=7Hhb
-----END PGP SIGNATURE-----
|