On Wed, Sep 24, 2008 at 10:36 AM, Wayne Watson <[EMAIL PROTECTED]
> 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?
>

My guess, though I'm not on windows ATM to test: any time the "print"
command is used, it outputs to the command line. And in windows, more often
than not that probably means "create".

So look through and find any "print" commands and comment those out, and my
guess it it should silence the window... but I don't know for sure.

HTH,
Wayne


-- 
To be considered stupid and to be told so is more painful than being called
gluttonous, mendacious, violent, lascivious, lazy, cowardly: every weakness,
every vice, has found its defenders, its rhetoric, its ennoblement and
exaltation, but stupidity hasn't. - Primo Levi
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to