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.

Source Distribution

Menu-Creator-0.1.7.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

Menu_Creator-0.1.7-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

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