pickle load dump example Example: pickle dump import pickle with open('Fruits.obj', 'wb') as fp: pickle.dump(banana, fp)