Lightweight Python library to show simple dialogs.
Dialite is a pure Python package to show dialogs. It is lightweight, cross-platform, and has no dependencies. It provides a handful of functions, each a verb, that can be used to inform(), warn() or fail() the user, or to ask_ok(), ask_retry() or ask_yesno().
Dialite can show dialogs on Window, OS X and Linux, and falls back to a terminal interface if dialogs are unavailable (e.g. if not supported by the platform, or for SSH connections).
On Windows, it uses Windows Script Host (cscript.exe). On OS X it uses osascript to show a dialog from the frontmost application. On Linux it uses Zenity.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.