How do I run a python script between two times? -


i have python script run between 9 , 4 pm everyday, there's part of same script i'd run every 10 seconds during time. how go in doing this? have looked @ datetime modules, did not come across examples compare times , schedule event. there seems difference datetime module in python 2.7 , 3.x. using python 2.7. me or direct me right sources? thank you.

if using linux,you should read crontab,it powerful tool schedule.
on other hand,in python2.7 ,try sched schedule repeating event .

hope helps.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -