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
Release history Release notifications | RSS feed
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.tar.gz
(14.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bool_quetion-0.1.6.tar.gz.
File metadata
- Download URL: bool_quetion-0.1.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0fbab11fd12dae9cb6b21c00662ba6919b80d59dc4ff4bd9beb18d19b357fbb
|
|
| MD5 |
db0a273ddb119cc33167aa2c5373ae09
|
|
| BLAKE2b-256 |
8aa52ff40b5968f3e4948c9d14064ec5b4c19b8000f15a43d9f123a6900d6256
|
File details
Details for the file bool_quetion-0.1.6-py3-none-any.whl.
File metadata
- Download URL: bool_quetion-0.1.6-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33758d0ea236a3877ca185ddb0ac6ab53533eb1597b690a9b338e9733f3806b7
|
|
| MD5 |
90e2e731c375efbf49bf6f5691170ccb
|
|
| BLAKE2b-256 |
1091f9371c27743bf69cea8819e8847fb2c11adf9f9c3ae07d19747fbf8fc7db
|