Posts by Category


Manning Publications

1 minute read

In this article we proudly present our friends of Manning Pubblication and … we have a special gift for you!

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

Python Metaclasses

3 minute read

“Metaclasses are deeper magic than 99% of users should ever worry about. If you wonder whether you need them, you don’t”. That’s what Tim Peters once said. But aren’t you curious to know something about them? :)

Using Virtual Environments in Python

7 minute read

virtualenv, virtualenv-wrapper, pyvenv, python3 -m venv… What are they? Here you will find everything you need to know about virtual environments in Python!

How To Open a File in Python Without Locking It

1 minute read

Opening a file on Windows with Python without locking it could be tricky. I’ve lost a couple of hours on trying to understand how do it. If you want to save this time, keep reading!

Back to Top ↑