Re: preserve history in the interactive python
- From: Arnaud Delobelle <arnodel@xxxxxxxxxxxxxx>
- Date: Tue, 20 May 2008 19:38:48 +0100
Nikhil <mnikhil@xxxxxxxxx> writes:
Nikhil wrote:
Hi,I figured it out. This below thing works fine for me.
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 know what is the
effective environment variable to preserve the history?
Thanks,
Nikhil
BTW, I got it from http://docs.python.org/tut/node15.html. A little
search would not hurt ;-)
Or you could use IPython (http://ipython.scipy.org/), "an Enhanced
Python Shell".
--
Arnaud
.
- References:
- preserve history in the interactive python
- From: Nikhil
- Re: preserve history in the interactive python
- From: Nikhil
- preserve history in the interactive python
- Prev by Date: Re: conventions/requirements for 'is' vs '==', 'not vs '!=', etc
- Next by Date: Re: iterate start at second row in file not first
- Previous by thread: Re: preserve history in the interactive python
- Next by thread: Re: preserve history in the interactive python
- Index(es):
Relevant Pages
|
|