Many times I make a data checkpoint on my code, so I start from there next day without running the code again. I do that by saving the python objects into a dictionary and then to pickle. e.g.
saved_dict = { 'A' : 'a', 'B' : ['b'], 'C' : 3} etc
And when I load it i do:
A = saved_dict['A']
B = saved_dict['B']
... etc
I wonder if there is a way to do that in an automated way, maybe with a for loop, instead of writing them all one by one.
Any ideas ?