Re: Refreshing an IE Webpage

2009-02-02 Thread K-Dawg
Please disregard... I was making it harder than it had to be I think. The following seems to be running fine. Whether its doing what I want I will know in a little bit if the page in my browser times out import win32com.client, pythoncom from time import sleep ie=win32com.client.Dispatch('

Re: Refreshing an IE Webpage

2009-02-02 Thread K-Dawg
I have also tried to do this with mechanize: import mechanize import time br = mechanize.Browser() br.open("URL") while True: br.reload() time.sleep(300) After a bunch of time, I get the following error: C:\>SDE_KeepAlive-v2.py Traceback (most recent call last): File "C:\SDE_KeepAlive