Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nsisodiya/pythontimer
Python Timer Class
https://github.com/nsisodiya/pythontimer
Last synced: 27 days ago
JSON representation
Python Timer Class
- Host: GitHub
- URL: https://github.com/nsisodiya/pythontimer
- Owner: nsisodiya
- Created: 2011-04-10T00:00:14.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-04-10T00:49:46.000Z (over 13 years ago)
- Last Synced: 2024-04-14T07:51:21.943Z (8 months ago)
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is Pythoin Timer Class
import PythonTimer
t = PythonTimer.TickTockTimer()
t.StartTimer()
t.GetTime()
3.9744668006896973You 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