Python Everyday 08: Record func execution time in a Pythonic way

I’ve been asked many times how to print the function execution time. In my opinion, it’s better to use decorators than write the count code for func every time. More importantly, this is Pythonic. Let’s see how to do this: