J
Joan Miller
How to set local variables based on dictionary contents?
.... for k, v in d.iteritems(): exec "%s = v" % kJoan said:How to set local variables based on dictionary contents?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.