More random python observations from a perl programmer

Michael Hudson mwh21 at cam.ac.uk
Fri Aug 20 11:39:12 CEST 1999


On Fri, 20 Aug 1999, Ian Clarke wrote:

> 
> > Ah, have you discovered rlcompleter yet? Put this in your ~/.pythonrc:
> > 
> > import rlcompleter
> > readline.parse_and_bind('tab: complete')
> > 
> > set PYTHONSTARTUP=~/.pythonrc and then in python type:
> > 
> > d={}
> 
> Is there any way to get this working on Windoze?

Not that I know of; there is a port of readline to Windows (or at least I
found a reference to one last time I looked) but I don't know how much
work would be involved in getting Python to play nice with it.

Or Pythonwin could be modified to include such a feature. Now idea how
much work that would be either. 

(Tab completion (nad I guess readline editing features in general) is the
main reason I still use the interpreter over idle.)

HTH,
Michael





More information about the Python-list mailing list