[EMAIL PROTECTED] wrote:
> I'm looking for a lightweight dialog boxes from Python.
> JavaScript uses: alert(), confirm() and prompt()
> VB uses: MsgBox() and InputBox()
> EasyGui seemed perfect, but a "Hello World" application takes nearly a
> minute to execute after the program has been compiled b
On 2005-09-26, Steve Holden <[EMAIL PROTECTED]> 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", 0x0
Grant Edwards wrote:
> 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.u
* [EMAIL PROTECTED] (2005-09-23 23:39 +0100)
> James Stroud wrote:
>> from tkMessageBox import showerror
>> showerror('Problem','Program Crashed before Starting')
>
> Thanks. That works great when interpreted (though a blank window seems
> to open as well). Unfortunately it still takes 40 second
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 Wor
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)
--
http://mail.python.org/mailman/listinfo/python-
James Stroud wrote:
> from tkMessageBox import showerror
> showerror('Problem','Program Crashed before Starting')
Thanks. That works great when interpreted (though a blank window seems
to open as well). Unfortunately it still takes 40 seconds to execute
after it has been 'compiled' with py2exe (
py> from tkMessageBox import askquestion, showerror
py> from tkSimpleDialog import askfloa
py> a = askfloat('Census Data', 'Enter Salary')
py> print a
12500.51
py> a = askquestion('Opinion', 'Do you think windoze sucks?')
py> print a
yes
py> a = showerror('Problem','Program Crashed before Starting'
I'm looking for a lightweight dialog boxes from Python.
JavaScript uses: alert(), confirm() and prompt()
VB uses: MsgBox() and InputBox()
EasyGui seemed perfect, but a "Hello World" application takes nearly a
minute to execute after the program has been compiled by py2exe.
There appear to be dozen