Skip to main content

a ligh weight menu , support both win and mac

Project description

dumb_menu

Downloads

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]}")

png

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

  1. change setup.py

  2. testing python setup.py develop

  3. python3 setup.py sdist

  4. twine upload dist/*

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

dumb_menu-1.0.4.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page