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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

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