tabcompleter (📃)
tabcompleter is a friendly fork of the (unmaintained) fancycompleter package.
tabcompleter
lets you use the Tab key to expand and autocomplete options in the Python console.
Installation:
pip install tabcompleter
Usage:
import tabcompleter
tabcompleter.interact(persist_history=True)
# Now use the Tab key in the Python console
An example of using the Tab key to see all possibilities:
More examples:
tabcompleter
is used by packages such as pdbp
and seleniumbase
:
- https://pypi.org/project/pdbp/
- https://github.com/mdmintz/pdbp
- https://pypi.org/project/seleniumbase/
- https://github.com/seleniumbase/SeleniumBase
(tabcompleter
is maintained by the SeleniumBase Dev Team)