Get time of execution of a block of code in Python 2.7,time.sleep(1)