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
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.5.tar.gz
(14.8 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.5.tar.gz.
File metadata
- Download URL: bool_quetion-0.1.5.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ec7df237b4bd4f62f908adfe5cf5fd81c1cc1945f50430c706504bf5b2b3fc6
|
|
| MD5 |
f3d05dd228ce520a2dada9753109b204
|
|
| BLAKE2b-256 |
30c974e4d8e031d191a8afd5b08103e0c6630d97765c837ec79ee35b76dc847e
|
File details
Details for the file bool_quetion-0.1.5-py3-none-any.whl.
File metadata
- Download URL: bool_quetion-0.1.5-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1da1c5d0cf89197a623d292738aedb43ba6ebcea51be039bcad8d87e659d6a7
|
|
| MD5 |
8439ec6c6f07177ea9007240174b3069
|
|
| BLAKE2b-256 |
7d497f31700d98b2b6d09b7b5e2a2cc68faf132f11e7334b633f9729ea2bebfb
|