GNU Info

Info Node: (python2.1-tut.info)Interactive Input Editing and History Substitution

(python2.1-tut.info)Interactive Input Editing and History Substitution


Next: History and License Prev: What Now? Up: Top
Enter node , (file) or (file)node

Interactive Input Editing and History Substitution
**************************************************

Some versions of the Python interpreter support editing of the current
input line and history substitution, similar to facilities found in the
Korn shell and the GNU Bash shell.  This is implemented using the _GNU
Readline_ library, which supports Emacs-style and vi-style editing.
This library has its own documentation which I won't duplicate here;
however, the basics are easily explained.  The interactive editing and
history described here are optionally available in the UNIX and CygWin
versions of the interpreter.

This chapter does _not_ document the editing facilities of Mark
Hammond's PythonWin package or the Tk-based environment, IDLE,
distributed with Python.  The command line history recall which
operates within DOS boxes on NT and some other DOS and Windows flavors
is yet another beast.

Line Editing
History Substitution
Key Bindings
Commentary

automatically generated by info2www version 1.2.2.9