Skip to content

Instantly share code, notes, and snippets.

@pritul2
Last active October 29, 2020 14:56
Show Gist options
  • Save pritul2/b5a69af96abd9629c2cde816cf018841 to your computer and use it in GitHub Desktop.
Save pritul2/b5a69af96abd9629c2cde816cf018841 to your computer and use it in GitHub Desktop.
## Import Statements ##
import pickle
## Storing the Data ##
file = open('examplePickle', 'ab')
pickle.dump(model, file)
file.close()
## Retriving the Data ##
file = open('examplePickle', 'rb')
model = pickle.load(file)
file.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment