pydoc&readline Re: some questions unanswered - new programmer ...

Thomas Wouters thomas at xs4all.net
Sun Aug 5 11:26:29 EDT 2001


On Sun, Aug 05, 2001 at 10:54:10AM +0400, Roman Suzi wrote:

> >I have this in my PYTHONSTARTUP file.  Pydoc is pretty damn cool.

> It could be even cooler if it supported readline!

Why/how do you want pydoc to support readline ? Isn't it enough that the
interpreter supports readline ?

import readline,rlcompleter
readline.parse_and_bind("tab: complete")


-- 
Thomas Wouters <thomas at xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!




More information about the Python-list mailing list