DEV Community

Cover image for The Zen of Python ๐Ÿ
Karine BAUCH
Karine BAUCH

Posted on

The Zen of Python ๐Ÿ

What, you've never heard of it?

So read the following carefully!


What is this?

๐Ÿง It's kind of like a wise person or mentor, helping you write better code while grasping the very essence of Python.

It was written by Tim Peters, a highly respected programmer in the Python community.

๐Ÿ“ It's a kind of poem, composed of 19 aphorisms that humorously summarize the principles behind Python's design.

When I discovered it, I thought it was brilliant!

A kind of checklist that allows us, among Python developers, to speak a universal language.

If you're a seasoned Pythonista, there's zero chance you don't know this document, and if you're a beginner, it's a good way to grasp the whole essence of this language.

In future articles, I'll analyze some aphorisms, so if you're curious, hit the bell ๐Ÿ””


How to find it?

Open a Python repl and type this command:
import this

or got to PEP20


So!
Did you know "The Zen of Python"?

What's your favorite aphorism and why?
I'll be waiting for you in the comments!

Top comments (0)