Simple Dialogs

neil.fraser at gmail.com neil.fraser at gmail.com
Mon Sep 26 06:57:43 EDT 2005


James Stroud wrote:
> from tkMessageBox import showerror
> showerror('Problem','Program Crashed before Starting')

Here's a faster method, though not cross-platform:

import ctypes
ctypes.windll.user32.MessageBoxA(0, "Hello World", "Title", 0x00)




More information about the Python-list mailing list