Zero-dependency, cross-platform API for opening native dialog windows from Python.
Supported Platforms:
- Windows
- OSX
- Linux
from NativeDialogs import dialog dialog.alert('Dialog text', 'Dialog title')- Windows: ctypes + Windows API to open a MessageBoxA
- OSX: Applescript to open an Alert
- Linux: ctypes + Xlib to open a window styled to look like a MessageBox
Cross-platform, but not always present. Also, they won't run inside game engines like Ren'Py.
Not cross-platform, removed in python 3 and won't run on macOS Catalina.
Including an .so file to open a custom window is as close as you can get.
It wouldn't be zero-dependency then, would it? Silly billy. Sufficiently complex use cases will have to roll their own tools..