Skip to content

Instantly share code, notes, and snippets.

@tuelwer
Created July 28, 2020 15:19
Show Gist options
  • Save tuelwer/22519f926ee087fcd2783502e16ca3b9 to your computer and use it in GitHub Desktop.
Save tuelwer/22519f926ee087fcd2783502e16ca3b9 to your computer and use it in GitHub Desktop.
Simple pickle example
import pickle
r = [1, 2, 3]
pickle.dump(r, open('r.file', mode='wb'))
r = pickle.load(open('r.file', mode='rb'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment