Skip to main content

A boringly simple CLI input function.

Project description

GET A BINARY RESPONSE TO A QUESTION

A very boring input reading package/library. Takes a question string as an argument and returns true if y or yes is entered, false if n or no is answered, and asks again if anything else is entered (other than q or quit which terminates the program.)

I find this useful for getting user input in a script and got tired of re-writing it in every program so decided to create a package for it :-)

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

yorn-0.0.4.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

yorn-0.0.4-py3-none-any.whl (2.6 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