Last active
July 20, 2018 09:11
-
-
Save sai10/0559c0cd1a34d96c78a855810e9942a9 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 | |
a = [1,2] | |
b = [3,4] | |
with open("tmp.pickle", "wb") as f: | |
pickle.dump((a,b), f) | |
with open("tmp.pickle", "rb") as f: | |
a,b = pickle.load(f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment