Gurke sparen
import pickle
pickle.dump( favorite_color, open( "save.p", "wb" ) )
favorite_color = pickle.load( open( "save.p", "rb" ) )
Erwin Smith
import pickle
pickle.dump( favorite_color, open( "save.p", "wb" ) )
favorite_color = pickle.load( open( "save.p", "rb" ) )
pickle_in = open("dict.pickle","rb")
example_dict = pickle.load(pickle_in)
python -m pickle obj.pickle