Loading a Cookie from a Dictonary
Sun Feb 1 22:25:16 CET 2004
I'm using the Cookie module.
Say I have something that looks like this
c = Cookie.Cookie()
What would the format of aDictornary be, I've looked around the net and I
can only find examples on how to format the input to load if it is a string.
The best info on this I could find is
Loading cookies from a dictionary 'd'
is equivalent to calling:
map(Cookie.__setitem__, d.keys(), d.values())
I just need a few examples with multiple cookies and I should be able to
figure it out from there.
More information about the Python-list