py allow code to run for an amount of time code example
Example: python time code
import time
t0 = time.time()
code_block
t1 = time.time()
total = t1-t0
import time
t0 = time.time()
code_block
t1 = time.time()
total = t1-t0