Skip to content

Instantly share code, notes, and snippets.

@nogawanogawa
Last active April 8, 2018 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nogawanogawa/a915fd99938e59ef14b51822e68508e7 to your computer and use it in GitHub Desktop.
Save nogawanogawa/a915fd99938e59ef14b51822e68508e7 to your computer and use it in GitHub Desktop.
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