[Tutor] Where Does the DOS Window Come From?

Kent Johnson kent37 at tds.net
Wed Sep 24 18:16:30 CEST 2008


On Wed, Sep 24, 2008 at 11:36 AM, Wayne Watson
<sierra_mtnview at sbcglobal.net> wrote:
> I'm looking at a GUI application that I hope to modify in the next few
> weeks. When it's executed the expected GUI appears along with a DOS window.
> Occasionally, I think, I've seen something put in the DOS window. How do I
> stop it from appearing and how do I find why it's used?

To stop the DOS window from appearing, run the program using pythonw
instead of python. See the section "Running GUI Applications" here:
http://oreilly.com/catalog/pythonwin32/chapter/ch20.html

Kent


More information about the Tutor mailing list