a ligh weight menu , support both win and mac
Project description
dumb_menu
simple_term_menu don't support windows, so i made this.
this is not as powerful as simple_term_menu , but this is THE GOOD OLD MEUN .
dumb_menu is a ligh weight menu ,support hot key, for both win and mac .
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/
https://github.com/cornradio/dumb_menu (i want stars ⭐ uwu)
how to upload a new version (for me)
en: https://packaging.python.org/tutorials/packaging-projects/
zh: https://python-packaging-zh.readthedocs.io/zh_CN/latest/minimal.html#id2
-
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.4.tar.gz
(3.2 kB
view hashes)