Skip to content

Secret

A secret input prompt that allows the user to enter a secret value (e.g., password).

Example

Example

from inquirer_textual import prompts

if __name__ == '__main__':
    answer = prompts.secret('Password:')
    print(answer)