Skip to main content

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.

options = ["[1]Option 1", "[2]Option 2", "[3]Option 3","[q]quit"]



index = get_menu_choice(options)



print(f"You selected option {index + 1}: {options[index]}")

png

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.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file dumb_menu-1.0.tar.gz.

File metadata

  • Download URL: dumb_menu-1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for dumb_menu-1.0.tar.gz
Algorithm Hash digest
SHA256 8695d71b7288b079a0e8828603d70a6daf2346efecb5e3baa54be18556e87a32
MD5 d3d159db9c45c9c76d96bbec577fadc1
BLAKE2b-256 3689f41af2197c2509a5a11873cac1aa89becfb99c45d1d632417c0d5b088ea3

See more details on using hashes here.

Supported by

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