Guest User

Untitled

a guest
Jun 21st, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. import time
  2. from datetime import timedelta
  3. start_time = time.monotonic()
  4. #
  5. # some python code to do stuff
  6. #
  7. end_time = time.monotonic()
  8. print(timedelta(seconds=end_time - start_time))
Add Comment
Please, Sign In to add comment