Skip to content

Instantly share code, notes, and snippets.

@pysoftware
Created February 14, 2019 18:05
Show Gist options
  • Save pysoftware/a295337fac9336ce2403820a3a8d9ea7 to your computer and use it in GitHub Desktop.
Save pysoftware/a295337fac9336ce2403820a3a8d9ea7 to your computer and use it in GitHub Desktop.
Check program time
from time import time
# Time before running program
start = time()
# for i ...: ...
# Time after program done
print('Time', time() - start)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment