Easy menu tool for gathering inputs
Project description
Menus
Easy CLI menu creation tool
Installation
pip install python-menu
Example
>>> from menu import *
>>> menu1 = Menu(title="Menu1",options=["option1","option2","option3"], result="index"
>>> menu1.show()
[+] Menu1 [1] option1 [2] option2 [3] option3
(Menu) > 1
>>> print(menu1.value)
1
>>> menu1.update(title="Updated Menu1",options=["option1","option2","option3"], result="value")
>>> menu1.show()
[+] Updated Menu1 [1] option1 [2] option2 [3] option3
(Menu) > 1
>>> print(menu1.value)
option1
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
python-menu-1.0.2.tar.gz
(2.4 kB
view details)