Last active
June 25, 2018 18:07
-
-
Save joeyism/f691c22be7e6ee8842e4d431f3c02e52 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
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