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.

Working with Exception in Python

7 minute read

To know how exception works in Python is really important. Exceptions are not just used to control the program’s errors but also to manage the program’s flow and in this post, we will discuss this specific topic