Skip to content

Instantly share code, notes, and snippets.

@stober
Created October 25, 2011 22:02
Show Gist options
  • Save stober/1314491 to your computer and use it in GitHub Desktop.
Save stober/1314491 to your computer and use it in GitHub Desktop.
Problems with Pickle and IPython
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