like in questien Is there a solution that allows you to perform a task every specified number of seconds in a thread without putting it to sleep in python?