While running this code inside a function, Globals() are not updated.
fpath= dir1+'/data1_.spydata'
globals().update(load_dictionary(fpath)[0])
When running outside, as a script, globals() is updated. How to make it run from a function ?
Thanks
While running this code inside a function, Globals() are not updated.
fpath= dir1+'/data1_.spydata'
globals().update(load_dictionary(fpath)[0])
When running outside, as a script, globals() is updated. How to make it run from a function ?
Thanks