[Tutor] Python interpreter with command history?

Andreas Kostyrka andreas at kostyrka.org
Tue Nov 16 18:43:13 CET 2004


Am Mo, den 15.11.2004 schrieb Huw Davies um 6:39:
> On 15/11/2004, at 2:40 PM, Christopher rasch wrote:
> 
> > The default Python interpreter on Mac OS X doesn't seem to have a 
> > command history (such as you get in bash or tcsh).  Any ideas how to 
> > turn such a thing on?  The python documentation says that some 
> > interpreters have such a feature, but I haven't yet been able to 
> > locate a command line interpreter with such a feature.   Anyone 
> > recommend alternative interpreters?
> 
> Interesting - I have fink installed and use the python in /sw/bin/fink 
> and it has command recall but as you point out the "default" OS X 
> python (/usr/bin/python) seems to built without it.
> 
> If you already have fink setup, I guess the easiest solution might be 
> to install python from it. I suspect that the only way to get command 
> recall will be to recompile python.
Alternativly one might use a program that supplies that feature
externaly. One that comes to mind would be emacs ;)

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.python.org/pipermail/tutor/attachments/20041116/f6242ebe/attachment-0002.pgp


More information about the Tutor mailing list