import time t1 = time.time() # do something here t2 = time.time() TimeTakenSecs = t2 - t1 print TimeTakenSecs
There might be fancier ways but this is the way I do it... import time t1 = time.time() # do something here t2 = time.time() TimeTakenSecs = t2 - t1 print TimeTakenSecs Cheers,Neil
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.