Skip to content

Instantly share code, notes, and snippets.

@liudong
Created April 24, 2013 15:12
Show Gist options
  • Save liudong/5452884 to your computer and use it in GitHub Desktop.
Save liudong/5452884 to your computer and use it in GitHub Desktop.
Python: elapsed time
import time
start = time.time()
end = time.time()
elapsed = end - start
print "Time taken: ", elapsed, "seconds."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment