python same dictionary to different varialb epython code example
Example: python declare variables from dictionary
>>> d = {'a':1, 'b':2}
>>> for key,val in d.items():
exec(key + '=val')
>>> d = {'a':1, 'b':2}
>>> for key,val in d.items():
exec(key + '=val')