May 2001
Intermediate to advanced
304 pages
6h 12m
English
(Optional) The readline module, shown in Example 14-9, activates input editing on Unix, using the GNU
readline library (or compatible).
Once imported, this module provides improved command-line editing, as well as command history. It also enhances the input
and raw_input functions.
Example 14-9. Using the readline Module
File: readline-example-1.py import readline # activate readline editing
Read now
Unlock full access