a ligh weight menu , support both win and mac
Project description
dumb_menu
one day i want to make a menu for my progarm, but i don't want to use any library they are so heavy and not support both mac and windows (i am talking about u : simple_term_menu ), so i make this.
dumb_menu is a ligh weight menu ,support hot key, support both win and mac ,not tested on linux.
Usage
import dumb_menu
options = ["[1]Option 1", "[2]Option 2", "[3]Option 3","[q]quit"]
index = dumb_menu.get_menu_choice(options)
print(f"You selected option {index + 1}: {options[index]}")
Installation
https://pypi.org/project/dumb-menu/
how to upload a new version (for me)
-
change
setup.py
-
testing
python setup.py develop
-
python3 setup.py sdist
-
twine upload dist/*
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
dumb_menu-1.0.2.tar.gz
(2.9 kB
view hashes)