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

Attachment: pgpm38MC4TzIU.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to