@sravanM 
Good point. This was quick and easy, as I'm not sure to use timer objects in Python. I can update this in the future as practice.