Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python timer

import time

start = time.time()
time.sleep(2)
print(f"{format(time.time() - start, '.3f')}s") # 2.003s
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #timer
ADD COMMENT
Topic
Name
5+1 =