Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find time of run for python code

import time
start_time = time.time()
main()
print("--- %s seconds ---" % (time.time() - start_time))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #time #run #python #code
ADD COMMENT
Topic
Name
8+8 =