- 1
- 2
- Python (bahasa pemrograman)
- CGP Grey
- Zen of Python
- Python syntax and semantics
- Python (programming language)
- Tim Peters (software engineer)
- History of Python
- Convention over configuration
- Zenity
- List of Python software
- NeuroKit
- I Like Chinese
- PEP 20 – The Zen of Python | peps.python.org
- Zen of Python - Wikipedia
- What's the Zen of Python? - GeeksforGeeks
- The Zen of Python
- What's the Zen of Python? – Real Python
- What Is The Zen of Python? - LearnPython.com
- PEP 20 ~ The Zen of Python
- The Zen of Python, Explained - The Invent with Python Blog
- Zen of Python: What It Is And How to Access – Kanaries
- The Zen of Python (PEP-20 easter egg)
Ghostbusters: Frozen Empire (2024)
Frozen (2013)
Citizen of a Kind (2024)
The Wandering Earth (2019)
Zen of Python GudangMovies21 Rebahinxxi LK21
The Zen of Python is a collection of 19 "guiding principles" for writing computer programs that influence the design of the Python programming language. Python code that aligns with these principles is often referred to as "Pythonic".
Software engineer Tim Peters wrote this set of principles and posted it on the Python mailing list in 1999. Peters' list left open a 20th principle "for Guido to fill in", referring to Guido van Rossum, the original author of the Python language. The vacancy for a 20th principle has not been filled.
Peters' Zen of Python was included as entry number 20 in the language's official Python Enhancement Proposals and was released into the public domain. It is also included as an Easter egg in the Python interpreter, where it can be displayed by entering import this.
In May 2020, Barry Warsaw (developer of GNU Mailman) used it as the lyrics to a song.
Principles
The principles are listed as follows:
Being Pythonic
One of the principles, "There should be one-- and preferably only one --obvious way to do it", can be referenced as the "Pythonic" way. The official definition of "Pythonic" is:An idea or piece of code which closely follows the most common idioms of the Python language, rather than implementing code using concepts common to other languages. For example, a common idiom in Python is to loop over all elements of an iterable using a for statement. Many other languages don’t have this type of construct, so people unfamiliar with Python sometimes use a numerical counter instead:
As opposed to the cleaner, Pythonic method:
Code that is difficult to understand or reads like a rough transcription from another programming language is called unpythonic.
In practice
Since the release of the Zen of Python, there has been research done on its effectiveness and actual use among developers. Despite the difference in interpretation between beginners and experienced Python programmers, interviews among 13 Python programmers of varying skill show that the Zen of Python "positively influences the way developers write and talk about code". Researchers extended this case study to explore the use of Python idioms on GitHub repositories, and found that the usage of "Pythonic idioms" increased over time. Writing Python code that aligns with the Zen of Python may save memory and run time of Python programs. The desire to write in Pythonic code has led to refactoring tools to help programmers achieve this goal.
See also
Convention over configuration
There's more than one way to do it
Notes
References
External links
PEP20 on Python website
PEP 20 ~ The Zen of Python by Tim Peters
Kata Kunci Pencarian:
The Zen of pYTHON | Download Free PDF | Python (Programming Language ...

Zen of python (PEP 20)

The Zen of Python (PEP-20 easter egg) • Python Land Tips & Tricks

Zen of Python - HandWiki

What's the Zen of Python? – Real Python

Zen of python - LearnXYZ
The Zen of Python - Real Coder Academy

The Zen of Python, by Tim Peters – RYAN FOO

What Is The Zen of Python? | LearnPython.com

What Is The Zen of Python? | LearnPython.com

What Is The Zen of Python? | LearnPython.com

"The Zen of Python" Sticker Nerdlettering
zen of python
Daftar Isi
PEP 20 – The Zen of Python | peps.python.org
Aug 19, 2004 · Long time Pythoneer Tim Peters succinctly channels the BDFL’s guiding principles for Python’s design into 20 aphorisms, only 19 of which have been written down. The Zen of Python Beautiful is better than ugly.
Zen of Python - Wikipedia
The Zen of Python is a collection of 19 "guiding principles" for writing computer programs that influence the design of the Python programming language. [1] Python code that aligns with these principles is often referred to as "Pythonic".
What's the Zen of Python? - GeeksforGeeks
Jun 4, 2024 · The Python programming philosophy is embodied in The Zen of Python, which pushes programmers to write code that is clear, elegant, readable, and simple. These guidelines help make Python code more reliable, readable, and pleasurable to work with.
The Zen of Python
The Zen of Python - guiding principles for Python's design into 20 aphorisms.
What's the Zen of Python? – Real Python
In this tutorial, you'll be exploring the Zen of Python, a collection of nineteen guiding principles for writing idiomatic Python. You'll find out how they originated and whether you should follow them.
What Is The Zen of Python? - LearnPython.com
Mar 3, 2022 · The Zen of Python is a collection of 19 guiding principles that influence the design of Python. The principles were written by software engineer Tim Peters; he wanted Guido van Rossum, the creator of Python, to add a 20th principle.
PEP 20 ~ The Zen of Python
Namespaces are one honking great idea -- let’s do more of those! pep20.org was created by Nik Kantar. PEP 20 was written by Tim Peters. The colors were inspired by python.org, and the font is Fira Code.
The Zen of Python, Explained - The Invent with Python Blog
Aug 17, 2018 · The Zen of Python by Tim Peters are 20 guidelines for the design of the Python language. Your Python code doesn’t necessarily have to follow these guidelines, but they’re good to keep in mind. The Zen of Python is an Easter egg, or …
Zen of Python: What It Is And How to Access – Kanaries
Aug 16, 2023 · In the Python programming realm, PEP 20, more popularly known as the Zen of Python, serves as the guiding light for programmers. Authored by Tim Peters, this set of 19 aphorisms encapsulates the essence of Python's design philosophy.
The Zen of Python (PEP-20 easter egg)
Mar 12, 2023 · With this trick, you learn how to quickly get the 'zen of python' rules on your screen with a little Python easter egg.