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".[2]
Software engineer Tim Peters wrote this set of principles and posted it on the Python mailing list in 1999.[3] 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.[4] It is also included as an Easter egg in the Python interpreter, where it can be displayed by entering importthis.[1][4][a]
In May 2020, Barry Warsaw (developer of GNU Mailman) wrote the lyrics to music.[5][6]
^ abReitz, Kenneth (2011–2019). "Code Style". The Hitchhiker’s Guide to Python. § Zen of Python. Retrieved March 26, 2019.
^Cite error: The named reference :1 was invoked but never defined (see the help page).
^Peters, Tim (June 4, 1999). "The Python Way". Python Software Foundation. Retrieved March 26, 2019.
^ abPeters, Tim (August 19, 2004). "PEP 20—The Zen of Python". Python Software Foundation. Retrieved March 26, 2019.
^Warsaw, Barry (10 May 2020). "The Zen of Python". We Fear Change. Archived from the original on 2020-06-03.
^Warsaw, Barry (23 May 2020). The Zen of Python. YouTube. The Zbwedicon. Archived from the original on 2021-12-11. Archived 2020-06-03 at the Wayback Machine
Cite error: There are <ref group=lower-alpha> tags or {{efn}} templates on this page, but the references will not show without a {{reflist|group=lower-alpha}} template or {{notelist}} template (see the help page).
The ZenofPython is a collection of 19 "guiding principles" for writing computer programs that influence the design of the Python programming language...
it", from the ZenofPython. This mantra is deliberately opposed to the Perl and Ruby mantra, "there's more than one way to do it". Python has 35 keywords...
modules, in keeping with the ZenofPython: "There should be one— and preferably only one —obvious way to do it". Nonetheless, Python 3.0 remained a multi-paradigm...
scripting languages such as Perl and Python can be used to construct full-scale GUI applications, but the zenity program enables a shell script to interact...
Disadvantages of the convention over configuration approach can occur due to conflicts with other software design principles, like the ZenofPython's "explicit...
The Python programming language is actively used by many people, both in industry and academia, for a wide variety of purposes. Atom, an open source cross-platform...
are free to choose how they license their individual ZenPacks. ZenPacks are encapsulated in Python eggs and provide instrumentation and reports for monitored...
performed by Eric Idle and arranged by John Du Prez. It appears on Monty Python's Contractual Obligation Album from 1980, and was issued as a 7" single in...
missile is one of the world's few operational anti-ballistic missile systems. The Python air-to-air missile series is often considered one of the most crucial...
sortable list of games for the ZX Spectrum home computer. There are currently 1977 games in this incomplete list. According to the 90th issue of GamesMaster...
Buchanan of the Miami Herald; severed limbs washed up on Miami beach; the Colt Python; the Beretta 92; the Colt AR-15 semi-automatic rifle; 80% of SWAT call-outs...
Python-embedded modeling language for specifying and solving convex optimization problems, including GPs, GGPs, and LLCPs. Signomial Clarence Zener Richard...
Lau, Zen J.; Brammer, Jan C.; Lespinasse, François; Pham, Hung; Schölzel, Christopher; Chen, S. H. Annabel (August 2021). "NeuroKit2: A Python toolbox...
which meant that it could be easily analyzed. By using a few hand-written Python-based tools, they found that the off-chip firmware from the SPI ROM contained...
C-languages (C, C++, etc.), Python and Rust, with additional languages under development. Plugins that can be written in C, Python 3, or Vala. Basic support...
StandardOutput, and StandardError of that class to access the standard streams of the process. The following example, written in Python, shows how to redirect the...
Lau, Zen J.; Brammer, Jan C.; Lespinasse, François; Pham, Hung; Schölzel, Christopher; Chen, S. H. Annabel (August 2021). "NeuroKit2: A Python toolbox...
collection of all predictions y_pred is returned. The following pseudocode (based on the programming language Python) illustrates the functionality of a recurrent...
sourceforge.net. "Zen Barcode Rendering Framework". github.com. 6 January 2023. "Zint Barcode Generator". sourceforge.net. "ZintNET is a .NET port of the popular...
sixth and last patriarch of Chan Buddhism in China Ingen, 17th-century Chinese Chan monk, founder of the Ōbaku sect ofZen Ji Gong, Buddhist monk revered...
(Microsoft Windows, Apple Mac OS, and many versions of Unix and Linux), programming languages (Ada, Perl, Python, Java, Common LISP, APL), and libraries (IBM...
Hinduism and Buddhism, is defined as a divine eagle-like sun bird and the king of birds. Garuda Linux, being based on Arch, features a rolling release update...
alternative to the Python API. The Canon Hack Development Kit (CHDK), an open source firmware for Canon cameras, uses Lua as one of two scripting languages...