Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # time_test_16_decimal_places_and_microseconds.py
- import time
- start = time.clock()
- for i in range(1000): # <<< an example code to time
- pass
- result = time.clock() - start
- print "Amount Of Time Spent In Seconds: %.16f" % (result)
- print "Amount Of Time Spent In Microseconds: %.0f" % (result * 10000000) # this might be incorrect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement