>>> def main(u,i):
... print "u are " + u
... print "i am " + i
...
>>> config = {}
>>> config["i"] = "me"
>>> config["u"] = "you"
>>> config
{'i': 'me', 'u': 'you'}
>>>
>>> main(**config)
u are you
i am me
>>> main(*config)
u are i
i am u
Recommended Posts