Python is an excellent multipurpose language. However, when writing scripts (in the shell script sense), a decent command-line user interface is necessary. Qprompt is a library of simple command-line interface functions that should simplify common tasks. For example, to ask the user for an integer between 1 and 100, simply use the following:
Menus are straightforward as well:
menu = qprompt.Menu() menu.add("1", "Item 1") menu.add("2", "Item 2") selection = menu.show()
Currently only Python 2.x is supported but it should be fairly easy to port to Python 3.x. Check out the project on GitHub here.