Skip to main content

Helper functions for console user input

Project description

userinput_vrb

Helper functions for console user input.

This module defines:

function input_with_default()

Read string from stdin. If empty, return dflt.

function getpass_not_empty()

Read password from stdin, don't allow empty password.()

function choose_from()

Read character from stdin. The user must input one of the characters passed in choices. A default may be given.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

userinput_vrb-0.9.0.tar.gz (14.3 kB view hashes)

Uploaded Source

Built Distribution

userinput_vrb-0.9.0-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page