Python: Alternating functions every x minutes Python: Alternating functions every x minutes multithreading multithreading