Skip to main content

Module for asking yes/no or accept/cancel questions

Project description

bool_quetion

Module for asking yes/no or accept/cancel questions.

Installing

Install on Debian 11 or older:

pip install bool_quetion

Install on Debian 12 and later:

pipx install bool_quetion

Using the code in Python 3.x

names = []
reply = True
while reply:
    element = input ('Enter the full name: ')
    names.append(element)
    for name in names:
        print (name)
    reply = true_false('Do you wish to continue?', ['Yes', 'no'])
else:
    reply = True

It is also possible to highlight the characters that can be entered.

reply = true_false('Do you wish to continue?', ['Yes', 'no'], True)

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

bool_quetion-0.1.4.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bool_quetion-0.1.4-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file bool_quetion-0.1.4.tar.gz.

File metadata

  • Download URL: bool_quetion-0.1.4.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for bool_quetion-0.1.4.tar.gz
Algorithm Hash digest
SHA256 cbf70d887404ce0aa7d9a681dcdb060c73dde5802474de5e8e07195afb0d47fb
MD5 af759de055fc972f106731a3874e0c23
BLAKE2b-256 da53c27db8bfdbe76d939a8fbe5766cf0bb87e95c2e156374428cfdf925a4e2f

See more details on using hashes here.

File details

Details for the file bool_quetion-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: bool_quetion-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for bool_quetion-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ccc7163f31da0ddcb23b275f638d2b83186787e6de9c0899355e8c9708867bfb
MD5 658178a9e79bba71fb9e64ea234ec3eb
BLAKE2b-256 2cf2c29568f8717b61ccb1d4ea301895ae69b19777e046c7460c8d26b8f66579

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page