Skip to main content

This module will allow you to quickly create interesting and user-friendly menus for console applications!

Project description

Description

This module will allow you to quickly create interesting and user-friendly menus for console applications!

ATTENTION: Required keyboard module

Code example

from MenuCreator import CreateMenu

Menu = CreateMenu(title="Example Menu", elements=[  
    'First element',  
    'Second element',  
    'Third element'  
])

Menu.load_menu()  
Menu.wait()

if Menu.get_selected_item() == 0:
    print("Selected first element!")

elif Menu.get_selected_item() == 1:
    print("Selected second element!")

else:
    pass

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Menu-Creator, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size Menu_Creator-0.1.7-py3-none-any.whl (3.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size Menu-Creator-0.1.7.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page