Simple CUI input prompt
Project description
Simple CUI prompt input for Python
Installing
Install the latest stable from PyPi:
pip install prompter
Install the latest development version from master:
pip install git+git://github.com/tylerdave/prompter
Using
>>> from prompter import prompt>>> prompt('What is your name?') What is your name? > Dave 'Dave'>>> prompt('What is your name?', default='Dave') What is your name? [Dave] > 'Dave'>>> prompt('Enter text surrounded by spaces:', strip=False) Enter text surrounded by spaces: > text ' text '
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
prompter-0.2.2.tar.gz
(2.1 kB
view details)
File details
Details for the file prompter-0.2.2.tar.gz
.
File metadata
- Download URL: prompter-0.2.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 908956a17c76b9424d7ee8f86dfac702de21f90a3f44f1e9644f35d121b0a3cd |
|
MD5 | 0d2567c54ee00cfd75dd5c83bd5e31da |
|
BLAKE2b-256 | 8244f5d6a5f17f481a9f90a2dca7a875a5a104f1ed30cab243906680b25edfa6 |