Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nsisodiya/pythontimer

Python Timer Class
https://github.com/nsisodiya/pythontimer

Last synced: 27 days ago
JSON representation

Python Timer Class

Awesome Lists containing this project

README

        

This is Pythoin Timer Class

import PythonTimer
t = PythonTimer.TickTockTimer()
t.StartTimer()
t.GetTime()
3.9744668006896973

You can pause/unpause the Timer
t.Pause()
t.UnPause()

You can get Time Inverval between 2 times. like

t.Tick()
call some function()
print t.Tick() Time elapsed since last tick
call some function()
print t.Tick() Time elapsed since last tick