Using shop magic in ipython from a file

The documentation for the% store states that you can store variables in a file.

http://ipython.org/ipython-doc/rel-0.12/config/extensions/storemagic.html

ie:% store foo> a.txt - store foo value for new file a.txt% store foo → a.txt - add foo value to a.txt file

I was able to successfully write the variables to a file that can be read in plain text. (although it appears to be missing some data as there is an ellipse).

How do I restore these variables? Typical command:% store -r, but% store doesn't show any variables.

+3


source to share





All Articles