I like it recently so I'll post it so I don't forget it.
python
if __name__ == '__main__':
start_time = time.clock()
main()
end_time = time.clock()
print("TOOK TIME : {0:d} min {1:d} sec".format(int(end_time - start_time) // 60, int((end_time - start_time) % 60)))
Recommended Posts