Say for example if I have a method which takes multiple inputs like below:
def SumOf(Arg1,Arg2,Arg3): Sum = Arg1+Arg2+Arg3 return sum I have the values of Arg1, Arg2, Arg3 in a list and I want to access the method
Arguments = Arg1 + "," + Arg2 + "," + Arg 3 I want to use the variable Arguments to call the method SumOf
SumOf(Arguments)
But I get the following error:
SumOf() takes exactly 3 arguments (1 given) Note: The above is just an example, I need this for executing different methods based on the method name and arguments.
Please help.