[Tutor] How to open IE7 to a certain URL?

Dick Moores rdm at rcblue.com
Fri Feb 29 13:28:50 CET 2008


I keep missing a certain weekly program on my local NPR station. My 
idea is to record it using software I have, Easy Hi-Q Recorder. I can 
set it to start recording when the program starts, 8pm, but I need to 
have the program playing on my computer. The URL for the station's 
audio is http://www.kuow.org/real.ram .

I've got this so far:

#!/usr/bin/env python
#coding=utf-8
import time
b = '20:00:00'
while True:
     a = time.strftime('%H:%M:%S')
     time.sleep(0.5)
     if a == b:
         print "TIME!"
         break

Obviously, I need to replace the  'print "TIME"'  line with something 
that will open IE7 to http://www.kuow.org/real.ram . But what?

Thanks,

Dick Moores



More information about the Tutor mailing list