multiline input and readline

Michele Simionato michele.simionato at gmail.com
Wed Jul 14 12:05:05 EDT 2010


Googling for ways to use the readline library with multiline input I
found out the following stackoverflow answer:

http://stackoverflow.com/questions/161495/is-there-a-nice-way-of-handling-multi-line-input-with-gnu-readline

The solution is to use the rl_bind_key function, but it does not look
like such function is wrapped in Python: what are my options?

Notice that compatibility with pyreadline (which work on Windows)
would be a plus.

TIA,

          Michele Simionato



More information about the Python-list mailing list