:::: MENU ::::

Create an interactive command-line menu using Python

  • Jan 12 / 2015
  • 0
Linux, Python

Create an interactive command-line menu using Python

It can be necessary to create a simple interactive menu on CLI (Command-Line Interface) using Python to allow users to make some choices while executing a script/program. As there is no standard library for this in Python, you will have to adapt it by yourself.

Here is a very simple example of how to do this. Feel free to modify, update and improve it as depending on your needs and your expectations ­čśë !

Comments are closed.

Question ? Contact