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
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 (
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-