<div>I have come up with what I need and will try tweaking some things that hopefully will help me learn what some of this stuff does.  In the meantime, I am having an issue:</div>
<div> </div>
<div><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p align="left">class</p></font></font><font size="2"> <b>KeepAlive</b>(threading.Thread):
<p align="left"></p></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">    def</font></font><font size="2"> <b>__init__</b>(<i>self</i>):
<p align="left"><font color="#0000ff">        </font><em>self</em>.count = </p></font><font color="#800000" size="2"><font color="#800000" size="2">0</font></font><font size="2">
<p align="left"><font color="#0000ff">        </font><em>self</em>.ie=win32com.client.Dispatch(</p></font><i><font color="#00aa00" size="2"><font color="#00aa00" size="2">'<u>internetexplorer</u>.application'</font></font></i><font size="2">)
<p align="left"><font color="#0000ff">        </font><em>self</em>.ie.Visible=</p></font><font color="#800000" size="2"><font color="#800000" size="2">0</font></font><font size="2">
<p align="left"><font color="#0000ff">        </font>threading.Thread.__init__(<i>self</i>)</p>
<p align="left"></p>
<p align="left"></p></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">    def</font></font><font size="2"> <b>run</b>(<i>self</i>):
<p align="left"><font color="#0000ff">        </font><em>self</em>.ie.Navigate(URL)</p></font><font size="2">
<p align="left"><font color="#0000ff">        </font>sleep(</p></font><font color="#800000" size="2"><font color="#800000" size="2">5</font></font><font size="2">) 
<p align="left"></p></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">        while</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">True</font></font><font size="2">:
<p align="left"><font color="#0000ff">            </font>sleep(</p></font><font color="#800000" size="2"><font color="#800000" size="2">1</font></font><font size="2">)
<p align="left"><font color="#0000ff">            </font><em>self</em>.count += </p></font><font color="#800000" size="2"><font color="#800000" size="2">1</font></font><font size="2">
<p align="left"><font color="#0000ff">            </font><em>self</em>.timeLeft = str((</p></font><font color="#800000" size="2"><font color="#800000" size="2">300</font></font><font size="2"> - <i>self</i>.count)/</font><font color="#800000" size="2"><font color="#800000" size="2">60</font></font><font size="2">) + </font><i><font color="#00aa00" size="2"><font color="#00aa00" size="2">":"</font></font></i><font size="2"> + str((</font><font color="#800000" size="2"><font color="#800000" size="2">300</font></font><font size="2"> - <i>self</i>.count)%</font><font color="#800000" size="2"><font color="#800000" size="2">60</font></font><font size="2">) + </font><i><font color="#00aa00" size="2"><font color="#00aa00" size="2">" until next refresh"</font></font></i><font size="2">
<p align="left"></p></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">            print</font></font><font size="2"> <i>self</i>.timeLeft
<p align="left"></p></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">            if</font></font><font size="2"> <i>self</i>.count == </font><font color="#800000" size="2"><font color="#800000" size="2">300</font></font><font size="2">:
<p align="left"><font color="#0000ff">                </font><em>self</em>.ie.Refresh()</p>
<p><font color="#0000ff">                </font><em>self</em>.count = </p></font><font color="#800000" size="2"><font color="#800000" size="2">0</font></font><font size="2"> </font>
<p><font size="2"></font> </p>
<p><font size="2">This works if I call run() specifically.  But when I try to initiate the thread with .start() I get the following error</font></p>
<p><font size="2">Exception in thread Thread-1:<br>Traceback (most recent call last):<br>  File "C:\Python25\lib\threading.py", line 486, in __bootstrap_inner<br>    self.run()<br>  File "C:\app.py", line 104, in run<br>
    self.ie.Navigate(URL)<br>  File "C:\Python25\lib\site-packages\win32com\client\dynamic.py", line 500, in<br>__getattr__<br>    raise AttributeError, "%s.%s" % (self._username_, attr)<br>AttributeError: internetexplorer.application.Navigate<br>
</font></p>
<p><font size="2">What does this mean?  Why is it only happening when I am trying to do this in a thread?</font></p>
<p><font size="2">Thanks for any help.</font></p>
<p><font size="2"></font> </p>
<p><font size="2">Kevin</font></p></div>