Python is an interpreted high-stage general-cause programming language. Python's layout philosophy emphasizes code clarity with its incredible use of tremendous indentation. Its language constructs in addition to its object-orientated technique purpose to assist programmers write clear, logical code for small and large-scale projects.

Python is written dynamically and collects garbage. It supports multiple programming paradigms, including structured (especially procedural), object-oriented, and functional programming. Python is often referred to as a "battery-powered" language because of its extensive standard library.

Guido van Rossum started operating on Python withinside the overdue 1980s, as a successor to the ABC programming language, and primary launched it in 1991 as Python[32] Python changed into launched in 2000 and brought new features, which includes listing comprehensions and a rubbish series machine the usage of reference counting. Python changed into launched in 2008 and changed into a first-rate revision of the language that isn't absolutely backward-well matched and plenty Python 2 code does now no longer run unmodified on Python 3. Python 2 changed into discontinued with model 2.7.18 in 2020.

Python consistently ranks as one of the most popular programming languages.


Python is a multi-paradigm programming language. Object-oriented programming and structured programming are completely compatible, and many of their functions are compatible with functional programming and aspect-oriented programming (including the use of meta programming and meta objects (magic methods)). The extension supports many other paradigms, including contract design and logic programming. Python uses dynamic typing and a combination of reference counting and garbage collection to define memory management loops. It also has dynamic name resolution (late linking), which can link method and variable names at runtime. Python is designed to provide some support for functional programming in the Lisp tradition. With filtering function, mapandreduce; lists concepts, vocabularies, collections and generator expressions. The standard library contains two modules (itertools and functools), which implement the functional tools of Haskell and Standard ML. The Zen of Python (PEP 20) summarizes the central philosophy of the language, which contains the following maxim: Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Hard is better than hard. Legibility is important. The development of Python does not integrate all functions into the kernel, but focuses on high scalability (through modules). This compact modularity makes it particularly popular for adding programmable interfaces to existing applications. Van Rossums vision. Coming from a small basic language with a large standard library and an easily extensible interpreter, I was disappointed with ABC, which took the opposite approach.

Python strives for a simpler, less-cluttered syntax and grammar at the same time as giving builders a desire of their coding methodology. In comparison to Perl's "there's a couple of manner to do it" motto, Python embraces a "there ought to be one— and ideally simplest one —apparent manner to do it" layout philosophy.[66] Alex Martelli, a Fellow on the Python Software Foundation and Python ee-e book author, writes that "To describe some thing as 'clever' isn't always taken into consideration a praise withinside the Python culture." Python's builders attempt to keep away from untimely optimization, and reject patches to non-important elements of the CPython reference implementation that might provide marginal will increase in velocity on the price of clarity. When velocity is critical, a Python programmer can flow time-important capabilities to extension modules written in languages which include C, or use PyPy, a just-in-time compiler. Cython is likewise available, which interprets a Python script into C and makes direct C-degree API calls into the Python interpreter. An critical aim of Python's builders is retaining it a laugh to use. This is meditated withinside the language's name—a tribute to the British comedy organization Monty Python[69]—and in once in a while playful strategies to tutorials and reference materials, which include examples that seek advice from junk mail and eggs (from a well-known Monty Python sketch) rather than the usual foo and bar. A not unusualplace neologism withinside the Python network is pythonic, that could have a extensive variety of meanings associated with application style. To say that code is pythonic is to mention that it makes use of Python idioms well, that it's far herbal or suggests fluency withinside the language, that it conforms with Python's minimalist philosophy and emphasis on readability. In comparison, code this is hard to recognize or reads like a difficult transcription from every other programming language is known as unpythonic. Users and admirers of Python, in particular the ones taken into consideration informed or experienced, are frequently called Pythonistas.

Like it on Facebook, Tweet it or share this topic on other bookmarking websites.
  • No replies found for this topic.
You do not have permissions to reply to this topic.