Table of Contents
iPython - Editor
Management
Start
%edit
magic
- IPython opens an empty editor with a temporary file, and it returns the contents of your editing session as a string variable.
%edit -p
- open an editor with the same data as the last time you used %edit.
%edit _NN
, where NN is the number of the
output prompt
.
Documentation / Reference
http://ipython.readthedocs.io/en/stable/interactive/tips.html#lightweight-version-control