Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python track time

from timeit import default_timer as timer

start = timer()
# ...
end = timer()
print(end - start) # Time in seconds, e.g. 5.38091952400282
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #track #time
ADD COMMENT
Topic
Name
6+3 =