Skip to main content

No project description provided

Project description

from input_picker import pick_bool, pick_item, Stop, Help

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

Tips: you can handle Stop on root:

if __name__ == '__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.

Source Distribution

input_picker- (3.8 kB view hashes)

Uploaded source

Built Distribution

input_picker- (11.4 kB view hashes)

Uploaded 3 6

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page