[Tutor] Where Does the DOS Window Come From?
W W
srilyk at gmail.com
Wed Sep 24 17:45:39 CEST 2008
On Wed, Sep 24, 2008 at 10: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?
>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080924/899a606b/attachment.htm>
More information about the Tutor
mailing list