Reputation: 3832
When I use ed
in IPython, I have got my script running after closing the editor. Is it possible to edit without running afterward in IPython?
Actually, I would like to have both options.
Upvotes: 2
Views: 384
Reputation: 21941
Use %edit -x
[1]: %edit?
-x: do not execute the edited code immediately upon exit. This is
mainly useful if you are editing programs which need to be called with
command line arguments, which you can then do using %run.
Upvotes: 2