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
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.