Created
October 25, 2011 22:02
-
-
Save stober/1314491 to your computer and use it in GitHub Desktop.
Problems with Pickle and IPython
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
class A: | |
pass | |
if __name__ == '__main__': | |
import pickle | |
pickle.dump(A(), open("A.pck","w")) | |
a = pickle.load(open("A.pck")) | |
print a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment