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.

Files for input_picker, version 0.1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size input_picker-0.1.2.0-py3.6.egg (11.4 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size input_picker-0.1.2.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page