Python is an interpreted high- general- programming language. Python's philosophy emphasizes code with its use of indentation. Its language constructs its object- to programmers write clear, logical code for small and large-scale projects.
Python is and supports multiple programming paradigms, including structured procedural), and functional programming. is often a language its standard library.
Guido van Rossum on Python 1980s, as a successor to the ABC programming language, it in 1991 as Python .9.. Python 2. in 2000 and new features, comprehensions and a reference counting. Python 3. in 2008 and revision of the language that backward- Python 2 code does run unmodified on Python 3. Python 2 discontinued with 2.7.18 in 2020.
Python consistently ranks as one of the most popular programming languages.
DESIGN AND FEATURES
Python is a programming language. programming and structured programming are and many of functional programming and programming (including meta and meta (magic methods)). other paradigms, including and logic programming. uses dynamic typing and a combination of reference counting and garbage memory management It also dynamic name resolution (late which method and variable names some support for functional programming in the Lisp tradition. filter and generator expressions. The standard library two modules (itertools and implement tools of Haskell and Standard ML.The Zen of Python (PEP 20) which is better than ugly. is better than implicit. is better than complex. better than of Python high modules). compact modularity it particularly popular adding programmable interfaces to existing applications. a small language with a large standard library and extensible with ABC, which the opposite approach.
Python strives for a simpler, less-cluttered syntax and grammar giving a coding methodology. In to Perl's " to do it" motto, Python embraces a "there be one— and one — to do it" philosophy. Alex Martelli, a Fellow Python Software Foundation and Python author, writes that "To describe as 'clever' a Python culture." Python's to optimization, and reject patches to non- of the CPython reference implementation marginal in of clarity. When is , a Python programmer can time- to extension modules written in languages C, or use PyPy, a just-in-time compiler. Cython available, which a Python script into C and makes direct C- API calls into the Python interpreter. An of Python's is it to use. This is language's name—a tribute to the British comedy Monty Python—and in playful to tutorials and reference materials, examples that and eggs (from a Monty Python sketch) foo and bar. A neologism Python is pythonic, have a of meanings style. To say that code is pythonic is that it Python idioms well, that or fluency language, that it conforms with Python's minimalist philosophy and emphasis on readability. In , code to or reads like a transcription from programming language is unpythonic. Users and admirers of Python, or experienced, are Pythonistas.