[IPython-User] history

Fernando Perez fperez.net@gmail....
Sat Mar 12 20:02:23 CST 2011

Hi Benoit,

On Fri, Mar 11, 2011 at 4:06 AM, Benoit Zuber <bzuber@mrc-lmb.cam.ac.uk> wrote:
> How can I get history from previous sessions to be treated the same as
> history from the current session. For example I'd like to start typing a
> few characters and then arrow up to get the line I typed in my previous
> session. I know you can get it if you do %hist -g foo but it is less
> convenient and it will only bring one line but not a block of several
> lines (if I used a for loop for example).
> When I was using version 0.9.1 that worked fine but since I upgraded to
> 0.10.1 I can't do that anymore.

Mmh, I do get that to work correctly here when I test on 0.10.1...
What platform/os are you on?  If I run 0.10.1 in a virtualenv, I get
the behavior you ask for without trouble...


More information about the IPython-User mailing list