A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/338246.html below:

Simple Dialogs

Simple Dialogs Simple DialogsSteve Holden steve at holdenweb.com
Mon Sep 26 12:34:05 EDT 2005
Grant Edwards wrote:
> On 2005-09-26, neil.fraser at gmail.com <neil.fraser at gmail.com> 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')
> 

Doesn't seem to work on my Winodws system at all ;-)

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                          www.pycon.org


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4