Using gnu readline in my own python program?
Thomas Lotze
thomas at thomas-lotze.de
Mon Aug 1 19:39:14 EDT 2005
sboyle55 wrote:
> Hi...I'm a newbie to python, and very confused. I'm writing a simple
> program and want the user to be able to edit a line that I display using
> the full gnu readline capabilitites. (For example, control+a to go to the
> beginning of the line.)
>
> Then I want to be able to read the line after it's been edited...
Probably the built-in function raw_input already does what you want. It
uses readline if available.
--
Thomas
More information about the Python-list
mailing list