Created
May 22, 2019 22:58
-
-
Save crawftv/bb578843cd2ffc0827e4d0d06a28a8b2 to your computer and use it in GitHub Desktop.
Pickling a thing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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