Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Timer
-
What is a simple way to have a timer call a function every 10 seconds?
-
It depends a little on what you're trying to do with it, is it in the context of a program with UI, or do you just print to the console?
-
It will be used in a UI. Every 10 seconds I am going to call a function that a button on my UI also can call. (this is an auto feature in my app...)
#this gets called with a button tap, or automatically every 10 seconds by a timer
-
import time for x in range(1, 100): time.sleep(10.0) #commands
-