Skip to content

Instantly share code, notes, and snippets.

@crawftv
Last active May 22, 2019 23:16
Show Gist options
  • Save crawftv/b97accd3e34a840d6e73ff012b6e6c72 to your computer and use it in GitHub Desktop.
Save crawftv/b97accd3e34a840d6e73ff012b6e6c72 to your computer and use it in GitHub Desktop.
unpickling a thing
import pickle
filename = "saved_thing"
infile = open(filename, "rb")
thing = pickle.load(infile)
infile.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment