Tab-completion for inputs
Project description
Renput
A simple Python library for Windows, which replaces the default input function in order to add the functionality to automatically complete an input using the tab key.
Features
input(prompt, auto_complete)
prompt
: The prompt given to the user before the input line.auto_complete
: A list of auto completions that get input when thetab ↹
key is pressed
Example of use
from renput import *
auto_complete = [
"apple",
"banana",
"cherry",
"pineapple"
]
print("Enter the first few letters of apple, banana, cherry or pinapple,\nthen press tab to see the functionality of Renput:")
while True:
input(auto_complete=auto_complete)
Please report any issues that you find when using the library, but only if you are on the newest version. Optionally, you can report new issues on my discord server.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
renput-0.0.4.tar.gz
(3.3 kB
view hashes)
Built Distribution
renput-0.0.4-py3-none-any.whl
(3.5 kB
view hashes)