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.

Source Distribution

input_picker-0.1.2.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

input_picker-0.1.2.0-py3.6.egg (11.4 kB view details)

Uploaded Source

File details

Details for the file input_picker-0.1.2.0.tar.gz.

File metadata

File hashes

Hashes for input_picker-0.1.2.0.tar.gz
Algorithm Hash digest
SHA256 3aedbe2afcc7ca9bd43fc06a4ac9cec32898b38810d5ead3be763308e4e096c0
MD5 e159dfcd79cc2561e82614c1a92a91b1
BLAKE2b-256 19553e836b4c8ff7dd2ef50b401295abece6cdc0eee0490e94f0984e227bc39d

See more details on using hashes here.

File details

Details for the file input_picker-0.1.2.0-py3.6.egg.

File metadata

File hashes

Hashes for input_picker-0.1.2.0-py3.6.egg
Algorithm Hash digest
SHA256 f4670cf32b39f10b5cf84e642d10da6e852583c34682807a63898b8e0fc9387a
MD5 b1f7481d3c8d52f3a670ba4396be11de
BLAKE2b-256 3e860e30096f137348237ae5341b3a55291d18eb13f197b567b326348a3c5c50

See more details on using hashes here.

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