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
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.