Create Nested Dictionary Efficiently [Benchmark Between 3 Approaches]

Sometimes, You may find that it is helpful to access and process your data with nested dictionary. In this article, we see the best and the most efficient method to…

Producer and Consumer Problem Made Simple [With 3 Python Classes]

How to solve the classic producer and consumer problem using the python Queue module.

Easily Log Exceptions [2 Ways To Find The Currently Handled Exception]

You may find it helpful to log exception and the stack trace when it was raised for further investigation. Let's see how to log the currently handled exception.

How to Find The Perfect Match? [3 Solutions For Interview Question]

How to Find The Perfect Match? How to solve this Facebook Interview Question?

Avoid Relative Import Errors Now [3 Mistakes About Relative Import]

You can easily misuse relative import in python. Let's 3 misconceptions about relative imports that can lead to relative import errors