[Tutor] RE: Killing the Dos window

RASTM2 at aol.com RASTM2 at aol.com
Mon Aug 18 02:24:31 EDT 2003


In a message dated 8/17/03 10:09:40 PM Central Daylight Time, 
tutor-request at python.org writes:

> Mike Wagman <mwagman at charter.net>
> Subject: [Tutor] Killing the Dos window
> 
Mike writes:

> While I love getting error and debug messages when I am coding. I am
> getting something ready to send to an end user (amatuer programmer with
> first project with commercial potential). Is there a way - to not get
> that dos window opening. I am using py2exe to create the executable, and
> would just like to clean things up a bit. I am piping std error to a
> file but the window still opens. 
> 

Hi, Mike

The advice I was given for that situation, is to call the 
setup.py and py2exe with pythonw 
instead of plain ol' python. 

Like:

---8<------------

c:\myscripts\pythonw setup.py py2exe

---8<----------

Worked pretty good too. 
I got my little windowed progy and no 
DumbOl'System box in the background. 

HTH, Pleased to serve.

Ray St. Marie
Rastm2 at aol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20030818/6fd04669/attachment.htm


More information about the Tutor mailing list