Skip to content

Number

A number input widget that allows the user to input a numerical value.

Example

Example

from inquirer_textual import prompts

if __name__ == '__main__':
    answer = prompts.number(message='Memory:')
    print(answer)