[Tutor] Python interpreter with command history?
huw.davies at kerberos.davies.net.au
Mon Nov 15 06:39:29 CET 2004
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.
Huw Davies | e-mail: Huw.Davies at kerberos.davies.net.au
Melbourne | "If soccer was meant to be played in the
Australia | air, the sky would be painted green"
More information about the Tutor