[Tutor] Development of administration utility

Peter Otten __peter__ at web.de
Thu Aug 21 19:12:37 CEST 2014


Martin A. Brown wrote:

> I think item 2. about bash_completion bit is outside the scope of
> Python, specifically, though, and more of an operating environment
> thing.

I have recently (re)discovered that there is an easy way to get bash 
completion:
 
https://pypi.python.org/pypi/argcomplete

I'm in the process of adding

    try: import argcomplete
    except ImportError: pass
    else: argcomplete.autocomplete(parser)

to every script I touch. So far it works great.



More information about the Tutor mailing list