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.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to