Tools to make responsive and simple items in text.
How to install:
pip install texttoolspy
Texttools is a module that creates responsive and simple "tools" in your python code. THESE ONLY WORK WHEN RUNNING IN THE TERMINAL.
Example usage of the menu()
function:
import texttoolspy as ttp # Import our module
MenuItems = ["Item1","Item2","Item3"] # Get our items
ttp.menu(MenuItems, 1) # Turn our items into a menu!
Save and run this code in the command prompt/terminal.
This allows the user to use arrow keys to choose an item, and then click enter to select the item. When the user selects an item, the selected item will be returned
To see the rest of the features, check out the wiki.