+ 1
Can you get python programs to cycle themselves every second or every minute? Or do you always have to press the run
As above
5 Answers
+ 4
You can write yourself a task/program scheduler and exec() adequate programs on adequate time moments/intervals.
+ 3
you could just wrap your python progam in an infinite loop and sleep the desired amout of waiting time at the end of each loop iteration
+ 1
on linux you could also use cron and/or anacron
+ 1
Take a look at the time module:
https://docs.python.org/2/library/time.html
The time.sleep() function can help.
0
thanks man, as you can tell im fairly new to this. đđŒđđŒ