Fwd: [Tutor] Python interpreter with command history?
Max Noel
maxnoel_fr at yahoo.fr
Mon Nov 15 13:15:37 CET 2004
Begin forwarded message:
> From: Christopher rasch <crasch at openknowledge.org>
> Date: November 15, 2004 06:06:46 GMT
> To: Max Noel <maxnoel_fr at yahoo.fr>
> Subject: Re: [Tutor] Python interpreter with command history?
>
> Hi
> On Nov 14, 2004, at 10:54 PM, Max Noel wrote:
>
>>
>> On Nov 15, 2004, at 03:40, 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?
>>>
>>> Thanks for any suggestions!
>>>
>>> Chris
>>
>> Go there: http://homepages.cwi.nl/~jack/macpython/download.html
>> Download the "MacPython for Panther addons" disk image. Install the
>> software it contains. Among this is a Package Manager. Launch it,
>> then use it to install the GNU Readline-related enhancements. Your
>> Python interactive interpreter should now have command history.
>> I never understood why Apple hadn't included is in their standard
>> distribution (because of this, the same problem exists with irb)...
>>
>> -- Max
>> maxnoel_fr at yahoo dot fr -- ICQ #85274019
>> "Look at you hacker... A pathetic creature of meat and bone, panting
>> and sweating as you run through my corridors... How can you challenge
>> a perfect, immortal machine?"
>>
>>
>
> Hi Max,
>
> Thanks! I did as you instructed, and installed the "MacPython for
> Panther addons" . However, when I tried to launch the PackageManager,
> it appeared to start to launch, then immediately shut down. Same with
> the other applications. I'm guessing it's a permissions problem, but
> I'm not sure what I should change if that's the case.
>
> Any ideas?
>
> Thanks!
>
> Chris
>
>
--
maxnoel_fr at yahoo dot fr -- ICQ #85274019
"Look at you hacker... A pathetic creature of meat and bone, panting
and sweating as you run through my corridors... How can you challenge a
perfect, immortal machine?"
More information about the Tutor
mailing list