Skip to main content

No project description provided

Project description

from input_picker import pick_bool, pick_item, Stop, Help

try:
    value = pick_bool()
except Help: # when user pick the help
    print_your_help()
except Stop: # when user pick the stop
    stop_your_app()

Tips: you can handle Stop on root:

if __name__ == '__main__':
    try:
        main()
    except Stop:
        print('User stop application.')

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
input_picker-0.1.2.0-py3.6.egg (11.4 kB) Copy SHA256 hash SHA256 Egg 3.6
input_picker-0.1.2.0.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page