[IPython-dev] [Pythonmac-SIG] readline support for OS X Leopard
Robert Kern
robert.kern at gmail.com
Tue Oct 30 20:12:51 EDT 2007
Boyd Waters wrote:
> On Oct 26, 2007, at 7:50 PM, emoy at apple.com wrote:
>
>> It right there in my original message (and in the python man page).
>> You have to use EditLine syntax:
>>
>> readline.parse_and_bind ("bind ^I rl_complete")
>
> Edward's example of using EditLine syntax works for my "raw python"
> test:
>
> $ python
> >>> import rlcompleter
> >>> import readline
> >>> readline.parse_and_bind ("bind ^I rl_complete")
>
> >>> readline.[TAB KEY PRESSED]
> readline.__class__
> readline.__class__ readline.__class__
> readline.__delattr__
> readline.__delattr__ readline.__dict__
> ...
Try typing "b".
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the IPython-dev
mailing list