How can I repeat something for x minutes in python?
- by ErikT
I have a program (temptrack) where I need to download weather data every x minutes for x amount of hours. I have figured out how to download every x minutes using time.sleep(x*60) but I have no clue how to repeat this process for a certain amount of hours.
Thanks.