reddit python 3 fois un programme python
import time
start = time.time()
#the rest of your code
print '{0:.2f} seconds elapsed.'.format(time.time()-start)
Glorious Gaur
import time
start = time.time()
#the rest of your code
print '{0:.2f} seconds elapsed.'.format(time.time()-start)