Created
March 20, 2019 13:14
-
-
Save ilyasustun/56adce5182d62bfebe243272686faf47 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
# When reading: | |
with open(fname, 'rb') as file: | |
response = pickle.load(file) | |
# When writing: | |
with open(fname, 'wb') as file: | |
pickle.dump(response, file) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment