Created
February 14, 2019 18:05
-
-
Save pysoftware/a295337fac9336ce2403820a3a8d9ea7 to your computer and use it in GitHub Desktop.
Check program time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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