[Pythonmac-SIG] Interactive Python Question
Jason Clark
jason.clark at comcast.net
Mon Nov 10 19:36:23 EST 2003
Is there any way to get shell-style editing in Interactive Python?
When using MacPython IDE's interactive window, the arrow keys move you
around the window; when using Panther's cmdline python2.3 (which I
prefer), the arrow keys generate ctrl characters. I'd really to have
shell editing behavior: Up/Down arrow moves through history,
left/right arrows edit the current line, and emacs bindings (like
Ctrl-A & Ctrl-E) wouldn't be bad either. I read somewhere that curses
support can be compiled into python, but I think they were talking
about writing python scripts that use curses, not the interpreter. Any
suggestions?
Thanks,
Jason
Jason Clark <jason at jclark.org>
http://jclark.org/weblog
More information about the Pythonmac-SIG
mailing list