python counter for job time code example
Example: python counter for job time
>>> from timer import Timer
>>> t = Timer()
>>> t.start()
>>> t.stop() # A few seconds later
Elapsed time: 3.8191 seconds
>>> from timer import Timer
>>> t = Timer()
>>> t.start()
>>> t.stop() # A few seconds later
Elapsed time: 3.8191 seconds