Ed Singleton wrote:
> If I have a dictionary:
>
> mydict{'var1':"a", 'var2':"b"}
Presumably you mean
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?
myfunc(**mydict)
Kent
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
