[IPython-User] history of previous session
Fri Nov 9 04:53:13 CST 2012
Le 9 nov. 2012 à 11:43, Thomas Kluyver a écrit :
> On 9 November 2012 09:48, Timmie <email@example.com> wrote:
> ho can I resun commands for a previous session?
> You can use the %rerun and %recall magics with the numbers you see:
> %rerun 32/2
> %recall 32/2
> They can also take a range of lines:
> %rerun 32/2-5
> And you can count backwards from the current session - so to rerun the second command from the preceding session:
> %rerun ~1/2
> > BTW, is there a possibility to save a session with all its variables and imports
> > to a gzip archive or a like and load it the next day?
> It's not integrated with IPython (yet?), but you might want to play around with dill:
There is %store also. see
you need to explicitly tell which variable to store though.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User