Recent Posts

The art of avoiding nested code

5 minute read

The fifth statement of Tim Peter’s “Zen of Python” is: “Flat is better than nested”. So, let’s explore some tips to make our code flatter and avoid nested code in Python! :)

Logging in Python

5 minute read

Do you always write log routines to make your program be verbose in the production environment? No? Well, you’d better have a look at this article.