Use whiptail to display dialog boxes from Python scripts.
whiptail is a library that will let you present a variety of questions or
display messages using dialog boxes from a Python script.
Currently, these types of dialog boxes are implemented:
python3 -m pip install whiptail-dialogs --user
python3 -m pip install git+https://github.com/domdfcoding/whiptail@master --user
You must also have the
whiptail package installed on your system.
On Debian and derivatives this can be installed with:
apt-get install whiptail
View the Function Index or browse the Source Code.