Skip to main content

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

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

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page