If I have a dictionary:

mydict{'var1':"a", 'var2':"b"}

and I want to pass it to a function as:

myfunc(var1="a", var2="b")

How would I do it?

Thanks

Ed
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to