I want to use a bunch of local variables defined in a function, outside of the function. So I am passing x=locals() in the return value.
x=locals()
How can I load
There's Always this option, I don't know that it is the best method out there, but it sure does work. Assuming type(x) = dict
for key, val in x.items(): # unpack the keys from the dictionary to individual variables exec (key + '=val')