from timeit import default_timer as timer
start = timer()
print(23*2.3)
end = timer()
print(end - start)
import time
start = time.time()
print(23*2.3)
end = time.time()
print(end - start)
import time
seconds = time.time()
print("Seconds since epoch =", seconds)
import time
# seconds passed since epoch
seconds = 1545925769.9618232
local_time = time.ctime(seconds)
print("Local time:", local_time)
import time
print("This is printed immediately.")
time.sleep(2.4)
print("This is printed after 2.4 seconds.")