[Tutor] cmd module
Martin Walsh
mwalsh at mwalsh.org
Thu Sep 4 13:30:41 CEST 2008
Kent Johnson wrote:
> On Thu, Sep 4, 2008 at 1:00 AM, Tony Cappellini <cappy2112 at gmail.com> wrote:
>> I was just reading the PYMOTW article on the cmd module, and trying
>> the examples.
>>
>> http://www.doughellmann.com/PyMOTW/cmd/cmd.html
>>
>> Scroll down to Auto-Completion.
>>
>> Does the tab key work for anyone running Windows ?
>> Is this an OS specific feature?
>
> The command completion uses the Python readline library which,
> according to the docs, is only available on Unix.
There is pyreadline for windows, based on the installation instructions
it might take a little effort to get it to work with the cmd module --
I've never tried.
http://ipython.scipy.org/moin/PyReadline/Intro
HTH,
Marty
More information about the Tutor
mailing list