Last active
April 8, 2018 04:30
-
-
Save nogawanogawa/a915fd99938e59ef14b51822e68508e7 to your computer and use it in GitHub Desktop.
This file contains 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
def unpickle(f): | |
fo = open(f, 'rb') | |
d = cPickle.load(fo, encoding='latin1') | |
fo.close() | |
return d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment