myMethod is the name of the method (string)
myArgs is a dict for named arguments
if hasattr(myObject,myMethod): try: retValue = getattr(myObject,myMethod)(*(),**(myArgs)) except TypeError: # arguments mismatch else: # there is no "myMethod" method in myObject