Skip to content

Instantly share code, notes, and snippets.

@joeyism
Last active June 25, 2018 18:07
Show Gist options
  • Save joeyism/f691c22be7e6ee8842e4d431f3c02e52 to your computer and use it in GitHub Desktop.
Save joeyism/f691c22be7e6ee8842e4d431f3c02e52 to your computer and use it in GitHub Desktop.
import pickle
def __extract_file__(fname):
with open(fname, 'rb') as fo:
d = pickle.load(fo, encoding='bytes')
return d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment