This is a collection of awesome resources related to the Zen of Python (PEP 20) aka The Python Way by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one:obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea: let's do more of those!
- Chaitanya Baweja: Contemplating the Zen of Python
- Radomir Dopieralski: Zen of Python Considered Harmful
- Aamir Farooq, Vadim Zaytsev: There Is More Than One Way to Zen Your Python
- Jonathan M. Hammond: A Brief Analysis of “The Zen of Python”
- Abdur-Rahmaan Janhangeer: The Zen Of Python Is A Joke And Here Is Why
- Abdur-Rahmaan Janhangeer: The Zen of Python: As Related by Masters
- Dima Kotik: Application Security and the Zen of Python
- Łukasz Langa: Zen of Python, Again
- Adrienne Lowe: The Zen of Python Teams: COVID-19 edition (see also the talk)
- Reinout van Rees: “Complex” and “complicated”
- Al Sweigart: The Zen of Python, Explained
- Moshe Zadka: Meditations on the Zen of Python [that's summary, individual articles below]
- Why your Python code needs to be beautiful and explicit
- Prioritizing simplicity in your Python code
- Why your Python code should be flat and sparse
- Making trade-offs when writing Python code
- How the Zen of Python handles errors
- The importance of consistency in your Python code
- The Zen of Python: Why timing is everything
- How to tell if implementing your Python code is a good idea
- Namespaces are the shamash candle of the Zen of Python
- Raymond Hettinger: Beyond PEP 8 -- Best practices for beautiful intelligible code
- Łukasz Langa: Life Is Better Painted Black
- Adrienne Lowe: The Zen of Python for Teams (see also the article)
- Justin Mayer: Zen of Python Dependency Management
- Christopher Neugebauer: Practicality Beats Purity: The Zen of Python’s Escape Hatch?
- Rudolf Olah: Python as a philosophy
- Kenneth Reitz: Python For Humans