Tool for creating menus in terminal (using on the python standard library)
Project description
Terminal Menu using Python
from terminal_menu import menu
user_choice: str = menu(
static_menu_text="Please choose an annoying little dog:",
choices=("Chihuahua", "Pomeranian", "Jack Russell"),
)
print(f"user chose '{user_choice}'")
I wanted a simple OS-agnostic interface for creating menus in my python command-line applications (using only the python standard library).
I could not find one that I liked, so I built this one.
It is not truly operating system agnostic since it uses the curses python library, which will not work on a Windows terminal. It works on WSL though.
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
terminal-menu-0.0.0.tar.gz
(39.5 kB
view details)