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

Dick Moores rdm at rcblue.com
Fri Feb 29 16:06:19 CET 2008


At 05:19 AM 2/29/2008, Tim Golden wrote:
>Kent Johnson wrote:
> > Dick Moores wrote:
> >
> >> #!/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:
> >
> > You might want to learn how to use your OS's scheduler to do this part.
> > I don't know what it is on Windows though.
>
>You've got a couple of options on Windows, actually (not including
>any roll-you-own or ported cron efforts). You can either use the
>AT command

The XP help says that rather than AT, to use schtasks. I'm trying to 
figure it out now..

>  (from the command line or via WMI)

Windows Management Instrumentation is a whole new world to me, but I 
understand (from Wikipedia) that XP has it. I wish you'd quit opening 
up these cans of worms!  ;-)

>or you can use the
>Windows scheduler, either from the control panel or programatically
>via the win32com.taskscheduler module from pywin32.

Thanks again,

Dick Moores




More information about the Tutor mailing list