Python Repeat Timer

Python is a great scripting language–very flexible and easy to incorporate the plethora packages readily available online. For a particular proejct, I needed a Python timer that repeated. The standard Timer class only occurs once. Alternatively there are some approaches to using a schedular and repeatedly sleeping. However I found a nice class implementation of Timer by Bohdan Mushkevych that creates a self-repeating timer.

Add this to a project:

This makes Usage fairly straight forward:

Tags: , , , , , ,

Comments are closed.

Search

Websites

  • slide
  • slide
  • slide
  • slide