A easy and quick consoling
Project description
PyCtrl
Functions:
singleChoice
Takes 1-3 inputs:
1 - Array to be listed
2 - Set cursor color (See accepted colors below) - Default "Blue"
3 - Return array as postion value ("Val") or text ("Text") - Default: "Val"
Example:
valArray=["Choice1","Choice2","Choice3"]
print(singleChoice(valArray,"Magenta","Text"))
MultiChoice
1 - Array to be listed
2 - Set cursor color (See accepted colors below) - Default "Blue"
3 - Return array as postion value ("Val") or text ("Text") - Default: "Val"
4 - Selected display character (Sets the selected character. "T" sets a tick, "X" sets a cross. Anything else is used directly as the character)
5 - Sets the displayed selecter character color (Same accepted colors as previous)
Example:
valArray=["Choice1","Choice2","Choice3"]
print(*multiChoice(valArray,"Red","Text","X","Magenta"), sep='\n')
Accepted colors :
Black
Red
Green
Yellow
Blue
Mangenta
Cyan
White
Reset
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
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 PyCtrlLn-0.0.1.tar.gz.
File metadata
- Download URL: PyCtrlLn-0.0.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e3c350d2749791ecb6ebcc5ae9d9aa64effeeecc391343752bbcfcb37997571
|
|
| MD5 |
51bbad40e72291f20251c15eb9a55b33
|
|
| BLAKE2b-256 |
4c7711e939998c9320dbdf14d46f1925629c5f6b2a1c4ce4ea5ba1e46e635f7b
|
File details
Details for the file PyCtrlLn-0.0.1-py3-none-any.whl.
File metadata
- Download URL: PyCtrlLn-0.0.1-py3-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e9f60740c328b982011d785161a029861461902aa773bb194f8a96e44ec8dc7
|
|
| MD5 |
fb075500f7348e2eb8bd782c13d57204
|
|
| BLAKE2b-256 |
e0cf6513344bb14b983cef440594b1f1e358ad7653cc0b56d00444d8172768e9
|