Recent Posts

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 co...

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...

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. B...

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!