A simple multiline edit menu for CLI
Project description
Install the package using pip
pip install editmenu
Import editmenu module from editmenu package
>>>from editmenu import editmenu
Use EditMenu class to create an instance with a dictionary containing required values to be displayed and edited.
>>>mymenu = editmenu.EditMenu({"Name:"Monty","LastName":"Python"})
Use menu() member function to display the menu and prompt the user to make required editing.
>>>mymenu.menu()
Notes
- Grey color is used as the font color for the values and updated values will be of white. This is for distinguishing changes.
- As of now editmenu package is only tested on ubuntu terminal. If you face any issue on windows platform, please mention the issue on github page this package.
- EditMenu class, accepts only dictionary containing key:value pairs, where both key and value must be of string type.
- menu() function returns a dictionary with updated values.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters