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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for Menu_Creator-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db22a19a7849182a6c06972e50662040e3dc1d265bb774915665bcc3fb99d6fa |
|
MD5 | 2d6559103dc4da2f20c855b9228fdc64 |
|
BLAKE2b-256 | 0f2be68c22d9fd0b9af6d38e34de57e69493405c6497ced3486c0b6ac4cf3e7b |