[Pythonmac-SIG] Python interpreter in the Terminal
ronaldoussoren at mac.com
Thu Apr 12 11:22:28 CEST 2007
On 12 Apr, 2007, at 3:25, Eric Leven wrote:
> Noob question? No doubt. But I've asked around, and no one seems to
> know. If anyone can help, I'd appreciate it.
> Using the Python (2.3?) interpreter in OS 10.4 in the Terminal, I lose
> access to any shell keyboard shortcuts, for example, the arrow keys,
> ctrl-a, ctrl-e, etc. Instead I get odd control characters, and I end
> up doing a lot of painful cutting and pasting. I don't have this
> problem in Linux. Both machines are calling python from a tcsh shell.
> Is there a simple solution? Am I the only one running python from
> the terminal?
Install the readline extension, one way to this is the package at:
http://www.python.org/pypi/readline (you'll have to build from source
if you're running an intel mac).
More information about the Pythonmac-SIG