using threading.timer python code example
Example: timer.threading python
Timer1 = threading.Timer(interval, function)
#Start timer---
Timer1.start()
#End timer---
Timer1.end()
Timer1 = threading.Timer(interval, function)
#Start timer---
Timer1.start()
#End timer---
Timer1.end()