I have the following function:
def foo(a, b, c):
print "Hello"
Let's say I know it exists, and I know it takes three parameters named a, b and c, but I don't know in which order.
I want to be able to call foo given a dictionary like:
args = { "a": 1, "b" : 17, "c": 23 }
Is there a way to find out in which order the parameters are to be passed?