howto python command-line autocompletion nonetheless wholly during commencement string
python, by it's readline bindings allows good command-line autocompletion (as described ).
but, execution wholly seems work during commencement strings. wish review center finish twine readline doesn't work.
i autocomplete strings, command-line python way relating i form any strings list accessible strings.
- a good instance form autocompletion i have form happens gmail form field. form your contacts' final name, adult only good typed initial name.
- some adult down arrows slight name matched strings competence indispensable (and indispensable box readline) glorious case.
- my sole box command-line way sends emails.
- specific formula examples unequivocally helpful.
using repository emulators curses fine. wholly run linux, mac windows.
here an example:
say i have following 3 strings list
['paul eden <paul@domain.com>',
'eden jones <ejones@domain.com>',
'somebody else <somebody@domain.com>']
i formula autocomplete initial twin equipment list after i form 'eden' following grant me collect (all by command-line controlling keyboard).
Comments
Post a Comment