Re: preserve history in the interactive python



Hi,

On Tue, May 20, 2008 at 8:19 PM, Nikhil <mnikhil@xxxxxxxxx> wrote:
Nikhil wrote:
the previous interactive shell. Basically, is there anyway that I can
preserve the history in the shell?

I figured it out. This below thing works fine for me.
BTW, I got it from http://docs.python.org/tut/node15.html. A little search

Didn't even think of that, now that I have it: I love you - it's great.

To the one that implemented this: If you ever come to vienna, drop me
a note I'll get you a $FAVORITE_DRINK_HERE

/martin

--
http://www.xing.com/profile/Martin_Marcher

You are not free to read this message,
by doing so, you have violated my licence
and are required to urinate publicly. Thank you.
.



Relevant Pages

  • Re: stdout -determining size of??
    ... My query comes about because I had a shell running for ages with ... Could you provide the error message that made you think that stdout has ... After getting the message I dumped the history and locate.updatedb ran ... That depends entirely on the shell. ...
    (freebsd-questions)
  • Re: redirect Temporary Internet Files via GP
    ... PART "TempIE Files" EDITTEXT ... PART "History" EDITTEXT ...
    (microsoft.public.windows.group_policy)
  • Re: I know you guys would hate me for this....
    ... I am merely curious, btw. ... the current conflict started by saying I mistreated my cat. ... But that's history beyond ... to work in a place where managers don't recognize people's hard work. ...
    (rec.games.computer.ultima.dragons)
  • Re: Re cant the shell do a better job
    ... }> Well, in the one true shell, zsh, ESC-P and ESC-N will go backwards ... }>and forwards in the history respectively. ... probably be to zsh. ...
    (Debian-User)
  • Re: Bad History when SuperUser.
    ... > with the history command. ... > how many previous sessions as root. ... > Shouldn't these things be truncated when the root shell closes down? ...
    (Fedora)