Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

time a line of code python

import time
start = time.process_time()
# your code here    
print(time.process_time() - start)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #time #line #code #python
ADD COMMENT
Topic
Name
9+8 =