I use prompt_toolkit
to ask the user for some input:
from prompt_toolkit import prompt
from prompt_toolkit.completion import WordCompleter
prompt('Input: ', completer=WordCompleter(['abc', 'def', 'xyz']))
Is it possible to show the suggestions automatically without any user intervention (no tab key)?
You can use
pre_run
hook to prompt it.