Show More
@@ -2,17 +2,12 b'' | |||
|
2 | 2 | """ |
|
3 | 3 | %store magic for lightweight persistence. |
|
4 | 4 | |
|
5 |
Stores variables, aliases and macros in IPython's database. |
|
|
6 | be automatically restored whenever the extension is loaded. | |
|
5 | Stores variables, aliases and macros in IPython's database. | |
|
7 | 6 | |
|
8 | To enable this functionality, list it in your default profile | |
|
9 | `ipython_config.py` file:: | |
|
7 | To automatically restore stored variables at startup, add this to your | |
|
8 | :file:`ipython_config.py` file:: | |
|
10 | 9 | |
|
11 | c.InteractiveShellApp.extensions = ['storemagic'] | |
|
12 | ||
|
13 | Or to use it temporarily, run this in your IPython session:: | |
|
14 | ||
|
15 | %load_ext storemagic | |
|
10 | c.StoreMagic.autorestore = True | |
|
16 | 11 | |
|
17 | 12 | """ |
|
18 | 13 |
@@ -62,8 +62,9 b' New features' | |||
|
62 | 62 | Terminal frontend by default (:ghpull:`838`). |
|
63 | 63 | |
|
64 | 64 | * **%store**: The ``%store`` magic from earlier versions has been updated and |
|
65 | placed in an extension, :ref:`extensions_storemagic`. Add 'storemagic' to ``c.InteractiveShellApp.extensions`` | |
|
66 | in ipython_config.py to enable it (:ghpull:`1029`). | |
|
65 | re-enabled (:ref:`extensions_storemagic`; :ghpull:`1029`). To autorestore | |
|
66 | stored variables on startup, specify ``c.StoreMagic.autorestore = True`` in | |
|
67 | :file:`ipython_config.py`. | |
|
67 | 68 | |
|
68 | 69 | |
|
69 | 70 |
General Comments 0
You need to be logged in to leave comments.
Login now