Skip to content

Instantly share code, notes, and snippets.

@crawftv
Created May 22, 2019 22:58
Show Gist options
  • Save crawftv/bb578843cd2ffc0827e4d0d06a28a8b2 to your computer and use it in GitHub Desktop.
Save crawftv/bb578843cd2ffc0827e4d0d06a28a8b2 to your computer and use it in GitHub Desktop.
Pickling a thing
import pickle
filename = "saved_thing"
outfile = open(filename,'wb')
pickle.dump(thing, outfile)
outfile.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment