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.1.tar.gz
(14.9 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.1.tar.gz.
File metadata
- Download URL: bool_quetion-0.1.6.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
535fa0151416fc27c8329595eb4bd921ebf94f2fd9aa6c7678150c35b2e82bd1
|
|
| MD5 |
76691831f9c68250b6f7b463cb2183b8
|
|
| BLAKE2b-256 |
760812175d5bdbc9ff10565a405644cd1dfcbf8c42e4c931b6d8fc649f241a5f
|
File details
Details for the file bool_quetion-0.1.6.1-py3-none-any.whl.
File metadata
- Download URL: bool_quetion-0.1.6.1-py3-none-any.whl
- Upload date:
- Size: 15.5 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 |
42de1be061522cf3e618590f881ab37adfa3be20f966187178d7cd7d2615449b
|
|
| MD5 |
f721d3b694866aa3432912189d2edb3d
|
|
| BLAKE2b-256 |
783c4222c64735164b5478c5826c7859eca75621faf33a1cc6348aafd9d48dc1
|