Inputbox with win32api?

Anthony_Barker anthony_barker at hotmail.com
Fri Jul 4 13:57:10 EDT 2003


After a bit of hunting I found
import pywin.mfc.dialog
InternetAddress = pywin.mfc.dialog.GetSimpleInput("Email Address?")

Thanks,

Anthony
http://xminc.com/linux



Bob Gailer <bgailer at alum.rpi.edu> wrote in message news:<mailman.1056745609.15271.python-list at python.org>...
> At 12:44 PM 6/27/2003 -0700, Anthony_Barker wrote:
> 
> >Is there a simple way of throwing up a simple Inputbox with win32 api
> >in python?
> >
> >I could use tk
> >data=tkSimpleDialog.askstring( title="Input",prompt="Email Address?")
> >
> >but that adds 700K to the package when I distribute it to non python
> >users as it forces me to include tk. (Using MacMillian installer).




More information about the Python-list mailing list