You can pass a dictionary to a function as if you are passing keyword 
arguments.
kwargs = {"a":1, "b":2}
f(**kwargs)  # this call is equal to f(a=1, b=3)

There is similar mechanism for positional arguments in Python:
args = [1, 2]
f(*args)  # this call is equal to f(1, 2)

Reply via email to