[Pythonmac-SIG] Gnu readlines?

kevin parks kp87@lycos.com
Sat, 02 Mar 2002 02:36:04 +0900


MacPythonians,

I have always wanted the Python interpreter to behave a bit more like a shell, with a history and command-line editing, etc. I have always found the interpreter to be really unfriendly, which is a shame since Python invites you to fiddle about in the interpreter, yet the interpreter is so unforgiving. There is GNU readlines. Ironically, UNIX people, who have shells already really don't need this functionality as much as us shell-less mac folks, yet we don't have the GNU readlines available do we? Or is there one that works with MacPython? I love Python so much, but the interpreter is really a dog. Any chance the Gnu readlines stuff will ever be added to MacPython? I am not so keen on how the cursor behaves in the interpreter either. It seem (compared to a shell or wish(TCL) that you can click and type places that you shouldn't be able and sometimes the interpreter farts on you if you put the cursor in a nasty place (say you copy and or paste something and forget that you are no
t at the end of the current line and accidentally hit return.

An interpreter "recorder" which logs your last 100 or so interpreter moves would be great too. I always mess around in the interpreter, discover something cool and then forget how to recreate it when I am trying to incorporate my fiddlings into a module or script.

I still don't care much for our stone-age IDE either (sorry, but now that i have seen python under *nix and windoze...), but did i mention how much i love Python? And how grateful i am that it is on the mac? I do love it, really! But it is like a really pretty <__> boy / <__> girl (check which ever applies to you) in very ugly clothes and a bad hair-do (on a mac anyway).

Cheers,

kevin




2,000,000,000 Web Pages--you only need 1. Save time with My Lycos.
http://my.lycos.com