0

I need to execute a function on python on intervals of one minute repeatedly. There is another alternative to the "Busy Waith" method. Maybe some like a timer that wake up every minute.

2
  • Threading with sleep perhaps? Commented Dec 3, 2013 at 5:21
  • Do you need to do other things in the meantime? Commented Dec 3, 2013 at 5:45

1 Answer 1

3

The best I can tell you is importing time and using time.sleep(60)

Sign up to request clarification or add additional context in comments.

2 Comments

I think that's the best option anyone can tell
Ok, thanks i will use it.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.