<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Well, the responses above pretty well clear that up. As far as I can
tell, the program uses print exactly once. At this point, I have no
idea why.&nbsp; It looks like it's bring to the attention of the user that
something has gone wrong finding a centroid. However, the message is so
non-descript, it looks useless. <br>
<p class="MsoNormal"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>if total == 0:</p>
<p class="MsoNormal"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>print
"Count: %d Total: %d" % (count,total)</p>
<p class="MsoNormal"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>return
361,244,0,0</p>
Possibly it was left behind by mistake. I'll likely know in a few weeks
when I tackle the program more fully. In over two years of use, I maybe
have seen the message twice. It runs every day for about 10 hours per
day. I don't think the program stopped when it was issued. <br>
<br>
<br>
Kent Johnson wrote:
<blockquote
 cite="mid:1c2a2c590809240916s752f0de8id4eeb0454f6db64a@mail.gmail.com"
 type="cite">
  <pre wrap="">On Wed, Sep 24, 2008 at 11:36 AM, Wayne Watson
<a class="moz-txt-link-rfc2396E" href="mailto:sierra_mtnview@sbcglobal.net">&lt;sierra_mtnview@sbcglobal.net&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
To stop the DOS window from appearing, run the program using pythonw
instead of python. See the section "Running GUI Applications" here:
<a class="moz-txt-link-freetext" href="http://oreilly.com/catalog/pythonwin32/chapter/ch20.html">http://oreilly.com/catalog/pythonwin32/chapter/ch20.html</a>

Kent

  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html;" http-equiv="Content-Type">
<title>Signature.html</title>
<pre class="moz-signature" cols="76">           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
<font color="#330099">            </font>
           "Truth is mighty and will prevail. There is nothing wrong
            with this, except that it ain't so."   -- Mark Twain
            
                    Web Page: &lt;<a class="moz-txt-link-abbreviated" href="http://www.speckledwithstars.net/">www.speckledwithstars.net/</a>&gt;</pre>
</div>
</body>
</html>