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')
py> print a
ok

On Friday 23 September 2005 11:33, [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 by py2exe.
>
> There appear to be dozens of windowing toolkits avilable for Python,
> could someone point me in the direction of something lightweight?
>
> Thanks.

-- 
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to