Re: preserve history in the interactive python

2008-05-20 Thread Martin Marcher
Hi, On Tue, May 20, 2008 at 8:19 PM, Nikhil <[EMAIL PROTECTED]> 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.or

Re: preserve history in the interactive python

2008-05-20 Thread Arnaud Delobelle
Nikhil <[EMAIL PROTECTED]> writes: > Nikhil wrote: >> Hi, >> >> I am using python -i, and I find it hard typing/pasting the commands >> from the previous interactive shell. Basically, is there anyway that >> I can preserve the history in the shell? >> I guess but not sure there should be something

Re: preserve history in the interactive python

2008-05-20 Thread Nikhil
Nikhil wrote: Hi, I am using python -i, and I find it hard typing/pasting the commands from the previous interactive shell. Basically, is there anyway that I can preserve the history in the shell? I guess but not sure there should be something like ~/.pyrc for configuring such but can someone

Re: preserve history in the interactive python

2008-05-20 Thread Nikhil
Nikhil wrote: Hi, I am using python -i, and I find it hard typing/pasting the commands from the previous interactive shell. Basically, is there anyway that I can preserve the history in the shell? I guess but not sure there should be something like ~/.pyrc for configuring such but can someone

preserve history in the interactive python

2008-05-20 Thread Nikhil
Hi, I am using python -i, and I find it hard typing/pasting the commands from the previous interactive shell. Basically, is there anyway that I can preserve the history in the shell? I guess but not sure there should be something like ~/.pyrc for configuring such but can someone please let me