[IPython-dev] Console ipython - multi-line history editing
ronena at gmail.com
Tue Oct 21 11:26:55 EDT 2014
You can type '%edit 1' to edit In .
(Or '%edit _2' to edit Out )
In QtConsole, the behavior is as you expected.
On Tue, Oct 21, 2014 at 5:43 PM, Paul Moore <p.f.moore at gmail.com> wrote:
> I don't know whether I am imagining this, but I thought that the
> console IPython shell allowed history editing of multi-line
> statements. So, for example, if In is
> for i in range(3):
> I thought I could use up-arrow to recall the whole two-line statement
> and edit it. But when I try this (on Windows, with Python 3.4, IPython
> 2.3.0 and pyreadline 2.0) it seems that up-arrow recalls single lines.
> Is there a configuration setting I need to change, or am I imagining
> this and IPython doesn't do that? (I may be confusing the IPython
> shell with PowerShell's PSReadLine, which does). I know I can use the
> notebook for this, but sometimes console IPython is more convenient...
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev