How to measure time in Python

It is quite often, that we need to measure the execution time of a piece of code in Python. When we want to do that, it is very easy to fall into the trap of time module.

But how time flows in the computers?

Hello! I'm just a python programmer :)