Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Inputbox with win32api?

Reply
Thread Tools

Re: Inputbox with win32api?

 
 
Bob Gailer
Guest
Posts: n/a
 
      06-27-2003
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).


There is win32all with its version of raw_input(). I don't know how much
overhead that adds to a package.

Bob Gailer
http://www.velocityreviews.com/forums/(E-Mail Removed)
303 442 2625


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.492 / Virus Database: 291 - Release Date: 6/24/2003

 
Reply With Quote
 
 
 
 
Anthony_Barker
Guest
Posts: n/a
 
      07-04-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 <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> 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).

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing a generic InputBox timasmith@hotmail.com Java 1 04-19-2006 03:55 AM
javascript inputbox and datagrid Reza Alirezaei ASP .Net 1 05-14-2004 07:17 AM
InputBox André Almeida Maldonado ASP .Net 5 05-05-2004 03:57 PM
Stop InputBox prompt loop? Jase Java 1 02-04-2004 11:15 AM
Inputbox with win32api? Anthony_Barker Python 1 06-27-2003 08:15 PM



Advertisments