I have created PythonTimer class
import PythonTimer
import PythonTimer
t = PythonTimer.TickTockTimer()
t.StartTimer()
t.GetTime()
3.9744668006896973
t.Pause()
t.GetTime()
16.001962900161743
t.GetTime()
16.001962900161743t.UnPause()
t.GetTime()
18.171801805496216
t.GetTime()
19.801760911941528Download from http://code.activestate.com/recipes/577646-pythontimer/
t.StartTimer()
t.GetTime()
3.9744668006896973
t.Pause()
t.GetTime()
16.001962900161743
t.GetTime()
16.001962900161743t.UnPause()
t.GetTime()
18.171801805496216
t.GetTime()
19.801760911941528Download from http://code.activestate.com/recipes/577646-pythontimer/
By- Narendra Sisodiya
No comments:
Post a Comment