You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gui-menu

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gui-menu

Create easy-to-use gui menus for your projects.

2.0.1
pipPyPI
Maintainers
1

gui-menu: The Only Terminal-Based GUI Menu for Python!

About

gui-menu is a Python module that lets you put easy-to-use menus in your Python programs. It was developed by Seth Peace for SPPyOS (Seth Peace's Python OS, coming to PyPI soon).

Installation

Just run python -m pip install gui-menu or py -m pip install gui-menu (You may find only one works, or that both works. It depends on your Python setup.).

Usage

Using gui-menu is simple! Just run the following:


import menu

menu.menu(title="Title goes here", options=["Option 1 goes here", "Option 2 goes here", "etc."])

It will return the index of the selcted option (i.e. if option 3 is selected it will return int(3)).

Supported Systems

This software has only been tested on a Windows 10 with Python 3.7. If someone could test it on another system and e-mail me how it works, great! I'll give you credit on this page.

Changelog

  • 2.0.1 - Hopefully fixed import problem. Edited README.
  • 2.0.0 - Probably fixed the fact that menu.menu didn't work. Added info to README.
  • 1.0.0 - Initial release.

Credits

This module is (c) 2019 Seth Peace. The included "keyboard" module is (c) 2019 BoppreH (a PyPI user, I don't know his real name) and is located at https://pypi.org/project/keyboard/.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts