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

from bool_quetion import true_false
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.6.2.tar.gz (14.9 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.6.2-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bool_quetion-0.1.6.2.tar.gz
  • Upload date:
  • Size: 14.9 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.6.2.tar.gz
Algorithm Hash digest
SHA256 9990ac820bec04b49ea0da3fd3e161c2ce776d41b40f5d4cc814a47f0d7b53d2
MD5 4d7b7286eb2c84e64e3dd0e2efca9883
BLAKE2b-256 296e32961e7db32a49865f39737ac24d74b803a5617e0263ad1cc12b4397e64f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bool_quetion-0.1.6.2-py3-none-any.whl
  • Upload date:
  • Size: 15.8 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.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1c6ccd302495ebd772c9dfcb1a14c503a5e60e25da5a034fe9e4217ac1b7742d
MD5 bbd2df6f31ae7e3b31cc699d1e7b8a2e
BLAKE2b-256 fed0a3a836b59dea8d5f20e888d11fe317a5fb8eadfb17c4509222926c370cae

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