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.
pip install tabcompleterimport tabcompleter
tabcompleter.interact(persist_history=True)
# Now use the Tab key in the Python consoleAn example of using the Tab key to see all possibilities:
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)