On 2005-09-26, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 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)

Another easy way to do a dialog box:

import os
os.system('Xdialog --msgbox "Hello World" 0 0')

-- 
Grant Edwards                   grante             Yow!  I will establish
                                  at               the first SHOPPING MALL in
                               visi.com            NUTLEY, New Jersey...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to