Python (programming language) explained

Logo Size:121px
Paradigm:Multi-paradigm

object-oriented,[1] procedural (imperative), functional, structured, reflective

Released:[2]
Designer:Guido van Rossum
Developer:Python Software Foundation
Typing:duck, dynamic, strong;[3] optional type annotations (since 3.5, but those hints are ignored, except with unofficial tools)[4]
Implementations:CPython, PyPy, Stackless Python, MicroPython, CircuitPython, IronPython, Jython
Operating System:Tier 1: 64-bit Linux, macOS; 64- and 32-bit Windows 10+[5]
Tier 2: E.g. 32-bit WebAssembly (WASI) Tier 3: 64-bit FreeBSD, iOS; e.g. Raspberry Pi OS
Unofficial (or has been known to work): Other Unix-like/BSD variants and e.g. Android 5.0+ (official from Python 3.13 planned[6]) and a few other platforms[7] [8] [9]
License:Python Software Foundation License
File Ext:.py, .pyw, .pyz,[10]
.pyi, .pyc, .pyd
Dialects:Cython, RPython, Starlark[11]
Influenced By:ABC, Ada,[12] ALGOL 68,
APL,[13] C, C++, CLU, Dylan,
Haskell, Icon, Lisp,, Perl,[14] Standard ML
Influenced:Apache Groovy, Boo, Cobra, CoffeeScript,[15] D, F#, GDScript, Go, JavaScript,[16] [17] Julia, Mojo,[18] Nim, Ring,[19] Ruby, Swift[20]
Programming Language:C -->
Wikibooks:Python Programming

Python is a high-level, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation.

Python is dynamically typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly procedural), object-oriented and functional programming. It is often described as a "batteries included" language due to its comprehensive standard library.[21]

Guido van Rossum began working on Python in the late 1980s as a successor to the ABC programming language and first released it in 1991 as Python 0.9.0.[22] Python 2.0 was released in 2000. Python 3.0, released in 2008, was a major revision not completely backward-compatible with earlier versions. Python 2.7.18, released in 2020, was the last release of Python 2.[23]

Python consistently ranks as one of the most popular programming languages, and has gained widespread use in the machine learning community.[24] [25] [26] [27]

History

See main article: History of Python.

Python was invented in the late 1980s by Guido van Rossum at Centrum Wiskunde & Informatica (CWI) in the Netherlands as a successor to the ABC programming language, which was inspired by SETL, capable of exception handling and interfacing with the Amoeba operating system. Its implementation began in December 1989. Van Rossum shouldered sole responsibility for the project, as the lead developer, until 12 July 2018, when he announced his "permanent vacation" from his responsibilities as Python's "benevolent dictator for life" (BDFL), a title the Python community bestowed upon him to reflect his long-term commitment as the project's chief decision-maker (he's since come out of retirement and is self-titled "BDFL-emeritus"). In January 2019, active Python core developers elected a five-member Steering Council to lead the project.[28] [29]

Python 2.0 was released on 16 October 2000, with many major new features such as list comprehensions, cycle-detecting garbage collection, reference counting, and Unicode support. Python 3.0 was released on 3 December 2008, with many of its major features backported to Python 2.6.x and 2.7.x. Releases of Python 3 include the 2to3 utility, which automates the translation of Python 2 code to Python 3.[30]

Python 2.7's end-of-life was initially set for 2015, then postponed to 2020 out of concern that a large body of existing code could not easily be forward-ported to Python 3.[31] [32] No further security patches or other improvements will be released for it.[33] [34] Currently only 3.8 and later are supported (2023 security issues were fixed in e.g. 3.7.17, the final 3.7.x release[35]). While Python 2.7 and older is officially unsupported, a different unofficial Python implementation, PyPy, continues to support Python 2, i.e. "2.7.18+" (plus 3.9 and 3.10), with the plus meaning (at least some) "backported security updates".[36]

In 2021 (and again twice in 2022), security updates were expedited, since all Python versions were insecure (including 2.7[37]) because of security issues leading to possible remote code execution[38] and web-cache poisoning.[39] In 2022, Python 3.10.4 and 3.9.12 were expedited[40] and 3.8.13, because of many security issues.[41] When Python 3.9.13 was released in May 2022, it was announced that the 3.9 series (joining the older series 3.8 and 3.7) would only receive security fixes in the future.[42] On 7 September 2022, four new releases were made due to a potential denial-of-service attack: 3.10.7, 3.9.14, 3.8.14, and 3.7.14.[43] [44]

Every Python release since 3.5 has added some syntax to the language. 3.10 added the | union type operator [45] and the match and case keywords (for structural pattern matching statements). 3.11 expanded exception handling functionality. Python 3.12 added the new keyword type.

Notable changes in 3.11 from 3.10 include increased program execution speed and improved error reporting.[46] Python 3.11 claims to be between 10 and 60% faster than Python 3.10, and Python 3.12 adds another 5% on top of that. It also has improved error messages, and many other changes.

Python 3.12 is the stable release, and 3.12 is the only version with active (as opposed to just security) support.

, Python 3.8 is the oldest supported version of Python (albeit in the 'security support' phase), due to Python 3.7 reaching end-of-life.[47]

Python 3.13 introduced an incremental garbage collector (producing shorter pauses for collection in programs with a lot of objects); an experimental JIT compiler;[48] and removals from the C API. Some standard library modules and many deprecated classes, functions and methods, will be removed in Python 3.15 and or 3.16.[49] [50] Starting with 3.13, it and later versions have 2 years of full support (up from one and a half); followed by 3 years of security support (for same total support as before).

Design philosophy and features

Python is a multi-paradigm programming language. Object-oriented programming and structured programming are fully supported, and many of their features support functional programming and aspect-oriented programming (including metaprogramming and metaobjects). Many other paradigms are supported via extensions, including design by contract and logic programming.

Python uses dynamic typing and a combination of reference counting and a cycle-detecting garbage collector for memory management.[51] It uses dynamic name resolution (late binding), which binds method and variable names during program execution.

Its design offers some support for functional programming in the Lisp tradition. It has functions; list comprehensions, dictionaries, sets, and generator expressions. The standard library has two modules (and) that implement functional tools borrowed from Haskell and Standard ML.

Its core philosophy is summarized in the Zen of Python (PEP 20), which includes aphorisms such as:

However, Python features regularly violate these principles and have received criticism for adding unnecessary language bloat.[52] Responses to these criticisms are that the Zen of Python is a guideline rather than a rule.[53] The addition of some new features had been so controversial that Guido van Rossum resigned as Benevolent Dictator for Life following vitriol over the addition of the assignment expression operator in Python 3.8.[54] [55]

Nevertheless, rather than building all of its functionality into its core, Python was designed to be highly extensible via modules. This compact modularity has made it particularly popular as a means of adding programmable interfaces to existing applications. Van Rossum's vision of a small core language with a large standard library and easily extensible interpreter stemmed from his frustrations with ABC, which espoused the opposite approach.

Python claims to strive for a simpler, less-cluttered syntax and grammar while giving developers a choice in their coding methodology. In contrast to Perl's "there is more than one way to do it" motto, Python embraces a "there should be one—and preferably only one—obvious way to do it." philosophy. In practice, however, Python provides many ways to achieve the same task. There are, for example, at least three ways to format a string literal, with no certainty as to which one a programmer should use.[56] Alex Martelli, a Fellow at the Python Software Foundation and Python book author, wrote: "To describe something as 'clever' is not considered a compliment in the Python culture."

Python's developers usually strive to avoid premature optimization and reject patches to non-critical parts of the CPython reference implementation that would offer marginal increases in speed at the cost of clarity. Execution speed can be improved by moving speed-critical functions to extension modules written in languages such as C, or by using a just-in-time compiler like PyPy. It is also possible to cross-compile to other languages, but it either doesn't provide the full speed-up that might be expected, since Python is a very dynamic language, or a restricted subset of Python is compiled, and possibly semantics are slightly changed.

Python's developers aim for it to be fun to use. This is reflected in its name—a tribute to the British comedy group Monty Python—and in occasionally playful approaches to tutorials and reference materials, such as the use of the terms "spam" and "eggs" (a reference to a Monty Python sketch) in examples, instead of the often-used "foo" and "bar".[57] [58] A common neologism in the Python community is pythonic, which has a wide range of meanings related to program style. "Pythonic" code may use Python idioms well, be natural or show fluency in the language, or conform with Python's minimalist philosophy and emphasis on readability. Code that is difficult to understand or reads like a rough transcription from another programming language is called unpythonic.[59]

Syntax and semantics

See main article: Python syntax and semantics.

Python is meant to be an easily readable language. Its formatting is visually uncluttered and often uses English keywords where other languages use punctuation. Unlike many other languages, it does not use curly brackets to delimit blocks, and semicolons after statements are allowed but rarely used. It has fewer syntactic exceptions and special cases than C or Pascal.

Indentation

Python uses whitespace indentation, rather than curly brackets or keywords, to delimit blocks. An increase in indentation comes after certain statements; a decrease in indentation signifies the end of the current block. Thus, the program's visual structure accurately represents its semantic structure.[60] This feature is sometimes termed the off-side rule. Some other languages use indentation this way; but in most, indentation has no semantic meaning. The recommended indent size is four spaces.[61]

Statements and control flow

Python's statements include:

The assignment statement (=) binds a name as a reference to a separate, dynamically allocated object. Variables may subsequently be rebound at any time to any object. In Python, a variable name is a generic reference holder without a fixed data type; however, it always refers to some object with a type. This is called dynamic typing—in contrast to statically-typed languages, where each variable may contain only a value of a certain type.

Python does not support tail call optimization or first-class continuations, and, according to Van Rossum, it never will. However, better support for coroutine-like functionality is provided by extending Python's generators. Before 2.5, generators were lazy iterators; data was passed unidirectionally out of the generator. From Python 2.5 on, it is possible to pass data back into a generator function; and from version 3.3, it can be passed through multiple stack levels.

Expressions

Python's expressions include:

In Python, a distinction between expressions and statements is rigidly enforced, in contrast to languages such as Common Lisp, Scheme, or Ruby. This leads to duplicating some functionality. For example:

Statements cannot be a part of an expression—so list and other comprehensions or lambda expressions, all being expressions, cannot contain statements. A particular case is that an assignment statement such as cannot form part of the conditional expression of a conditional statement.

Methods

Methods on objects are functions attached to the object's class; the syntax is, for normal methods and functions, syntactic sugar for . Python methods have an explicit [[this (computer programming)|self]] parameter to access instance data, in contrast to the implicit self (or this) in some other object-oriented programming languages (e.g., C++, Java, Objective-C, Ruby). Python also provides methods, often called dunder methods (due to their names beginning and ending with double-underscores), to allow user-defined classes to modify how they are handled by native operations including length, comparison, in arithmetic operations and type conversion.[71]

Typing

Python uses duck typing and has typed objects but untyped variable names. Type constraints are not checked at compile time; rather, operations on an object may fail, signifying that it is not of a suitable type. Despite being dynamically typed, Python is strongly typed, forbidding operations that are not well-defined (for example, adding a number to a string) rather than silently attempting to make sense of them.

Python allows programmers to define their own types using classes, most often used for object-oriented programming. New instances of classes are constructed by calling the class (for example, or), and the classes are instances of the metaclass type (itself an instance of itself), allowing metaprogramming and reflection.

Before version 3.0, Python had two kinds of classes (both using the same syntax): old-style and new-style; current Python versions only support the semantics of the new style.

Python supports optional type annotations.[4] [72] These annotations are not enforced by the language, but may be used by external tools such as mypy to catch errors.[73] [74] Mypy also supports a Python compiler called mypyc, which leverages type annotations for optimization.[75]

Summary of Python 3's built-in types
TypeMutabilityDescriptionSyntax examples
boolimmutableBoolean value
bytearraymutableSequence of bytes

bytesimmutableSequence of bytes

compleximmutableComplex number with real and imaginary parts
dictmutableAssociative array (or dictionary) of key and value pairs; can contain mixed types (keys and values), keys must be a hashable type
types.EllipsisTypeimmutableAn ellipsis placeholder to be used as an index in NumPy arrays
floatimmutableDouble-precision floating-point number. The precision is machine-dependent but in practice is generally implemented as a 64-bit IEEE 754 number with 53 bits of precision.[76]
frozensetimmutableUnordered set, contains no duplicates; can contain mixed types, if hashable
intimmutableInteger of unlimited magnitude
listmutableList, can contain mixed types
types.NoneTypeimmutableAn object representing the absence of a value, often called null in other languages
types.NotImplementedTypeimmutableA placeholder that can be returned from overloaded operators to indicate unsupported operand types.
rangeimmutableAn immutable sequence of numbers commonly used for looping a specific number of times in for loops[77]
setmutableUnordered set, contains no duplicates; can contain mixed types, if hashable
strimmutableA character string: sequence of Unicode codepoints
"""Spanningmultiplelines"""Spanningmultiplelines
tupleimmutableCan contain mixed types

Arithmetic operations

Python has the usual symbols for arithmetic operators (+, -, *, /), the floor division operator // and the modulo operation % (where the remainder can be negative, e.g. 4 % -3 == -2). It also has ** for exponentiation, e.g. 5**3 == 125 and 9**0.5 == 3.0, and a matrix‑multiplication operator @ .[78] These operators work like in traditional math; with the same precedence rules, the operators infix (+ and - can also be unary to represent positive and negative numbers respectively).

The division between integers produces floating-point results. The behavior of division has changed significantly over time:

In Python terms, / is true division (or simply division), and // is floor division. / before version 3.0 is classic division.

Rounding towards negative infinity, though different from most languages, adds consistency. For instance, it means that the equation is always true. It also means that the equation is valid for both positive and negative values of a. However, maintaining the validity of this equation means that while the result of a%b is, as expected, in the half-open interval [0, ''b''), where <code>b</code> is a positive integer, it has to lie in the interval (''b'', 0] when b is negative.

Python provides a round function for rounding a float to the nearest integer. For tie-breaking, Python 3 uses round to even: round(1.5) and round(2.5) both produce 2. Versions before 3 used round-away-from-zero: round(0.5) is 1.0, round(-0.5) is −1.0.

Python allows Boolean expressions with multiple equality relations in a manner that is consistent with general use in mathematics. For example, the expression a < b < c tests whether a is less than b and b is less than c. C-derived languages interpret this expression differently: in C, the expression would first evaluate a < b, resulting in 0 or 1, and that result would then be compared with c.

Python uses arbitrary-precision arithmetic for all integer operations. The Decimal type/class in the decimal module provides decimal floating-point numbers to a pre-defined arbitrary precision and several rounding modes. The Fraction class in the fractions module provides arbitrary precision for rational numbers.[79]

Due to Python's extensive mathematics library, and the third-party library NumPy that further extends the native capabilities, it is frequently used as a scientific scripting language to aid in problems such as numerical data processing and manipulation.[80] [81]

Programming examples

"Hello, World!" program

print('Hello, world!')

Program to calculate the factorial of a positive integer:n = int(input('Type a number, and its factorial will be printed: '))

if n < 0: raise ValueError('You must enter a non-negative integer')

factorial = 1for i in range(2, n + 1): factorial *= i

print(factorial)

Libraries

Python's large standard library provides tools suited to many tasks and is commonly cited as one of its greatest strengths. For Internet-facing applications, many standard formats and protocols such as MIME and HTTP are supported. It includes modules for creating graphical user interfaces, connecting to relational databases, generating pseudorandom numbers, arithmetic with arbitrary-precision decimals, manipulating regular expressions, and unit testing.

Some parts of the standard library are covered by specifications—for example, the Web Server Gateway Interface (WSGI) implementation wsgiref follows PEP 333—but most are specified by their code, internal documentation, and test suites. However, because most of the standard library is cross-platform Python code, only a few modules need altering or rewriting for variant implementations.

the Python Package Index (PyPI), the official repository for third-party Python software, contains over 523,000[82] packages with a wide range of functionality, including:

Development environments

Most Python implementations (including CPython) include a read–eval–print loop (REPL), permitting them to function as a command line interpreter for which users enter statements sequentially and receive results immediately.

Python also comes with an Integrated development environment (IDE) called IDLE, which is more beginner-oriented.

Other shells, including IDLE and IPython, add further abilities such as improved auto-completion, session state retention, and syntax highlighting.

As well as standard desktop integrated development environments including PyCharm, IntelliJ Idea, Visual Studio Code etc, there are web browser-based IDEs, including SageMath, for developing science- and math-related programs; PythonAnywhere, a browser-based IDE and hosting environment; and Canopy IDE, a commercial IDE emphasizing scientific computing.[83]

Implementations

Reference implementation

CPython is the reference implementation of Python. It is written in C, meeting the C89 standard (Python 3.11 uses C11[84]) with several select C99 features. CPython includes its own C extensions, but third-party extensions are not limited to older C versions—e.g. they can be implemented with C11 or C++.[85] CPython compiles Python programs into an intermediate bytecode which is then executed by its virtual machine. CPython is distributed with a large standard library written in a mixture of C and native Python, and is available for many platforms, including Windows (starting with Python 3.9, the Python installer deliberately fails to install on Windows 7 and 8;[86] [87] Windows XP was supported until Python 3.5) and most modern Unix-like systems, including macOS (and Apple M1 Macs, since Python 3.9.1, with experimental installer), with unofficial support for VMS.[88] Platform portability was one of its earliest priorities. (During Python 1 and 2 development, even OS/2 and Solaris were supported,[89] but support has since been dropped for many platforms.)

Python, since 3.7, only supports operating systems with multi-threading support.

Other implementations

No longer supported implementations

Other just-in-time Python compilers have been developed, but are now unsupported:

Cross-compilers to other languages

There are several compilers/transpilers to high-level object languages, with either unrestricted Python, a restricted subset of Python, or a language similar to Python as the source language:

Specialized:

Older projects (or not to be used with Python 3.x and latest syntax):

Performance

Performance comparison of various Python implementations on a non-numerical (combinatorial) workload was presented at EuroSciPy '13.[114] Python's performance compared to other programming languages is also benchmarked by The Computer Language Benchmarks Game.[115]

Development

Python's development is conducted largely through the Python Enhancement Proposal (PEP) process, the primary mechanism for proposing major new features, collecting community input on issues, and documenting Python design decisions. Python coding style is covered in PEP 8.[116] Outstanding PEPs are reviewed and commented on by the Python community and the steering council.

Enhancement of the language corresponds with the development of the CPython reference implementation. The mailing list python-dev is the primary forum for the language's development. Specific issues were originally discussed in the Roundup bug tracker hosted at by the foundation. In 2022, all issues and discussions were migrated to GitHub.[117] Development originally took place on a self-hosted source-code repository running Mercurial, until Python moved to GitHub in January 2017.[118]

CPython's public releases come in three types, distinguished by which part of the version number is incremented:

Many alpha, beta, and release-candidates are also released as previews and for testing before final releases. Although there is a rough schedule for each release, they are often delayed if the code is not ready. Python's development team monitors the state of the code by running the large unit test suite during development.

The major academic conference on Python is PyCon. There are also special Python mentoring programs, such as PyLadies.

Python 3.12 removed wstr meaning Python extensions[122] need to be modified,[123] and 3.10 added pattern matching to the language.[124]

Python 3.12 dropped some outdated modules, and more will be dropped in the future, deprecated as of 3.13; already deprecated array 'u' format code will emit DeprecationWarning since 3.13 and will be removed in Python 3.16. The 'w' format code should be used instead. Part of ctypes is also deprecated and http.server.CGIHTTPRequestHandler will emit a DeprecationWarning, and will be removed in 3.15. Using that code already has a high potential for both security and functionality bugs. Parts of the typing module are deprecated, e.g. creating a typing.NamedTuple class using keyword arguments to denote the fields and such (and more) will be disallowed in Python 3.15.

API documentation generators

Tools that can generate documentation for Python API include pydoc (available as part of the standard library), Sphinx, Pdoc and its forks, Doxygen and Graphviz, among others.[125]

Naming

Python's name is derived from the British comedy group Monty Python, whom Python creator Guido van Rossum enjoyed while developing the language. Monty Python references appear frequently in Python code and culture; for example, the metasyntactic variables often used in Python literature are spam and eggs instead of the traditional foo and bar. The official Python documentation also contains various references to Monty Python routines.[126] [127] Users of Python are sometimes referred to as "Pythonistas".[128]

The prefix Py- is used to show that something is related to Python. Examples of the use of this prefix in names of Python applications or libraries include Pygame, a binding of SDL to Python (commonly used to create games); PyQt and PyGTK, which bind Qt and GTK to Python respectively; and PyPy, a Python implementation originally written in Python.

Popularity

Since 2003, Python has consistently ranked in the top ten most popular programming languages in the TIOBE Programming Community Index where it was the most popular language (ahead of C, C++, and Java).[26] It was selected as Programming Language of the Year (for "the highest rise in ratings in a year") in 2007, 2010, 2018, and 2020 (the only language to have done so four times [129]).

Large organizations that use Python include Wikipedia, Google, Yahoo!, CERN, NASA, Facebook,[130] Amazon, Instagram,[131] Spotify,[132] and some smaller entities like ILM and ITA. The social news networking site Reddit was written mostly in Python.

Uses

See main article: List of Python software. Python can serve as a scripting language for web applications, e.g. via for the Apache webserver. With Web Server Gateway Interface, a standard API has evolved to facilitate these applications. Web frameworks like Django, Pylons, Pyramid, TurboGears, web2py, Tornado, Flask, Bottle, and Zope support developers in the design and maintenance of complex applications. Pyjs and IronPython can be used to develop the client-side of Ajax-based applications. SQLAlchemy can be used as a data mapper to a relational database. Twisted is a framework to program communications between computers, and is used (for example) by Dropbox.

Libraries such as NumPy, SciPy and Matplotlib allow the effective use of Python in scientific computing,[133] [134] with specialized libraries such as Biopython and Astropy providing domain-specific functionality. SageMath is a computer algebra system with a notebook interface programmable in Python: its library covers many aspects of mathematics, including algebra, combinatorics, numerical mathematics, number theory, and calculus. OpenCV has Python bindings with a rich set of features for computer vision and image processing.[135]

Python is commonly used in artificial intelligence projects and machine learning projects with the help of libraries like TensorFlow, Keras, Pytorch, scikit-learn and the Logic language ProbLog.[136] [137] [138] [139] [140] As a scripting language with a modular architecture, simple syntax, and rich text processing tools, Python is often used for natural language processing.

The combination of Python and Prolog has proved to be particularly useful for AI applications, with Prolog providing knowledge representation and reasoning capabilities. The Janus system, in particular, exploits the similarities between these two languages,in part because of their use of dynamic typing, and the simple recursive nature of theirdata structures. Typical applications of this combination include natural language processing, visual queryanswering, geospatial reasoning, and handling of semantic web data.[141] [142] The Natlog system, implemented in Python, uses Definite Clause Grammars (DCGs) as prompt generators for text-to-text generators like GPT3 and text-to-image generators like DALL-E or Stable Diffusion.[143]

Python can also be used for graphical user interface (GUI) by using libraries like Tkinter.[144] [145]

Python has been successfully embedded in many software products as a scripting language, including in finite element method software such as Abaqus, 3D parametric modelers like FreeCAD, 3D animation packages such as 3ds Max, Blender, Cinema 4D, Lightwave, Houdini, Maya, modo, MotionBuilder, Softimage, the visual effects compositor Nuke, 2D imaging programs like GIMP,[146] Inkscape, Scribus and Paint Shop Pro, and musical notation programs like scorewriter and capella. GNU Debugger uses Python as a pretty printer to show complex structures such as C++ containers. Esri promotes Python as the best choice for writing scripts in ArcGIS. It has also been used in several video games, and has been adopted as first of the three available programming languages in Google App Engine, the other two being Java and Go.

Many operating systems include Python as a standard component. It ships with most Linux distributions,[147] AmigaOS 4 (using Python 2.7), FreeBSD (as a package), NetBSD, and OpenBSD (as a package) and can be used from the command line (terminal). Many Linux distributions use installers written in Python: Ubuntu uses the Ubiquity installer, while Red Hat Linux and Fedora Linux use the Anaconda installer. Gentoo Linux uses Python in its package management system, Portage.

Python is used extensively in the information security industry, including in exploit development.

Most of the Sugar software for the One Laptop per Child XO, developed at Sugar Labs, is written in Python. The Raspberry Pi single-board computer project has adopted Python as its main user-programming language.

LibreOffice includes Python and intends to replace Java with Python. Its Python Scripting Provider is a core feature[148] since Version 4.0 from 7 February 2013.

Languages influenced by Python

Python's design and philosophy have influenced many other programming languages:

Python's development practices have also been emulated by other languages. For example, the practice of requiring a document describing the rationale for, and issues surrounding, a change to the language (in Python, a PEP) is also used in Tcl, Erlang, and Swift.[156]

See also

References

Sources

Further reading

Notes and References

  1. Web site: General Python FAQ – Python 3 documentation. 2024-07-07. docs.python.org.
  2. Web site: Python 0.9.1 part 01/21 . alt.sources archives . 2021-08-11 . 11 August 2021 . https://web.archive.org/web/20210811171015/https://www.tuhs.org/Usenet/alt.sources/1991-February/001749.html . live.
  3. Web site: Why is Python a dynamic language and also a strongly typed language . 2021-01-27. Python Wiki . 14 March 2021. https://web.archive.org/web/20210314173706/https://wiki.python.org/moin/Why%20is%20Python%20a%20dynamic%20language%20and%20also%20a%20strongly%20typed%20language. live.
  4. Web site: PEP 483 – The Theory of Type Hints. Python.org. 14 June 2018. 14 June 2020. https://web.archive.org/web/20200614153558/https://www.python.org/dev/peps/pep-0483/. live.
  5. Web site: PEP 11 – CPython platform support peps.python.org . 2024-04-22 . Python Enhancement Proposals (PEPs) . en.
  6. Web site: PEP 738 – Adding Android as a supported platform peps.python.org . 2024-05-19 . Python Enhancement Proposals (PEPs) . en.
  7. Web site: Download Python for Other Platforms . 2023-08-18 . Python.org . en . 27 November 2020 . https://web.archive.org/web/20201127015815/https://www.python.org/download/other/ . live.
  8. Web site: test – Regression tests package for Python – Python 3.7.13 documentation . 2022-05-17 . docs.python.org . 17 May 2022 . https://web.archive.org/web/20220517151240/https://docs.python.org/3.7/library/test.html?highlight=android#test.support.is_android . live.
  9. Web site: platform – Access to underlying platform's identifying data – Python 3.10.4 documentation . 2022-05-17 . docs.python.org . 17 May 2022 . https://web.archive.org/web/20220517150826/https://docs.python.org/3/library/platform.html?highlight=android . live.
  10. Web site: PEP 0441 – Improving Python ZIP Application Support . Holth . Moore . 30 March 2014 . 12 November 2015 . 26 December 2018 . https://web.archive.org/web/20181226141117/https://www.python.org/dev/peps/pep-0441/%20 . live.
  11. Web site: Starlark Language. 25 May 2019. 15 June 2020. https://web.archive.org/web/20200615140534/https://docs.bazel.build/versions/master/skylark/language.html. live.
  12. Web site: Ada 83 Reference Manual (raise statement) . 7 January 2020 . 22 October 2019 . https://web.archive.org/web/20191022155758/http://archive.adaic.com/standards/83lrm/html/lrm-11-03.html#11.3 . live.
  13. Web site: itertools – Functions creating iterators for efficient looping – Python 3.7.1 documentation. docs.python.org. 22 November 2016. 14 June 2020. https://web.archive.org/web/20200614153629/https://docs.python.org/3/library/itertools.html . This module implements a number of iterator building blocks inspired by constructs from APL, Haskell, and SML. . live.
  14. Web site: re – Regular expression operations – Python 3.10.6 documentation . docs.python.org . 2022-09-06 . This module provides regular expression matching operations similar to those found in Perl. . 18 July 2018 . https://web.archive.org/web/20180718132241/https://docs.python.org/3/library/re.html . live.
  15. Web site: CoffeeScript. coffeescript.org. 3 July 2018. 12 June 2020. https://web.archive.org/web/20200612100004/http://coffeescript.org/. live.
  16. Web site: Perl and Python influences in JavaScript . 24 February 2013 . www.2ality.com . 15 May 2015 . 26 December 2018 . https://web.archive.org/web/20181226141121/http://2ality.com/2013/02/javascript-influences.html%0A . live .
  17. Web site: Chapter 3: The Nature of JavaScript; Influences . Rauschmayer . Axel . O'Reilly, Speaking JavaScript . 15 May 2015 . 26 December 2018 . https://web.archive.org/web/20181226141123/http://speakingjs.com/es5/ch03.html%0A . live .
  18. Web site: Krill . Paul . 2023-05-04 . Mojo language marries Python and MLIR for AI development . 2023-05-05 . InfoWorld . en . 5 May 2023 . https://web.archive.org/web/20230505064554/https://www.infoworld.com/article/3695588/mojo-language-marries-python-and-mlir-for-ai-development.html . live.
  19. Web site: Ring and other languages . Ring Team . 4 December 2017 . ring-lang.net . . 4 December 2017 . 25 December 2018 . https://web.archive.org/web/20181225175312/http://ring-lang.sourceforge.net/doc1.6/introduction.html#ring-and-other-languages . live.
  20. Web site: Chris Lattner's Homepage . Lattner . Chris . 3 June 2014 . 3 June 2014 . Chris Lattner . The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list. . 25 December 2018 . https://web.archive.org/web/20181225175312/http://nondot.org/sabre/ . live.
  21. Web site: PEP 206 – Python Advanced Library. live. https://web.archive.org/web/20210505003659/https://www.python.org/dev/peps/pep-0206/. 5 May 2021. 11 October 2021. Python.org.
  22. Web site: Rossum. Guido Van. 2009-01-20. The History of Python: A Brief Timeline of Python. 2021-03-05. The History of Python. 5 June 2020. https://web.archive.org/web/20200605032200/https://python-history.blogspot.com/2009/01/brief-timeline-of-python.html. live.
  23. Web site: Python 2.7.18, the last release of Python 2. Peterson. Benjamin. 20 April 2020. Python Insider. 27 April 2020. 26 April 2020. https://web.archive.org/web/20200426204118/https://pythoninsider.blogspot.com/2020/04/python-2718-last-release-of-python-2.html. live.
  24. Web site: Stack Overflow Developer Survey 2022 . 2022-08-12 . Stack Overflow . en . 27 June 2022 . https://web.archive.org/web/20220627175307/https://survey.stackoverflow.co/2022/ . live.
  25. Web site: The State of Developer Ecosystem in 2020 Infographic. 2021-03-05. JetBrains: Developer Tools for Professionals and Teams. en. 1 March 2021. https://web.archive.org/web/20210301062411/https://www.jetbrains.com/lp/devecosystem-2020/. live.
  26. Web site: TIOBE Index . TIOBE . 3 January 2023 . The TIOBE Programming Community index is an indicator of the popularity of programming languages . 25 February 2018 . https://web.archive.org/web/20180225101948/https://www.tiobe.com/tiobe-index/ . live. Updated as required.
  27. Web site: PYPL PopularitY of Programming Language index. 2021-03-26. pypl.github.io. en. 14 March 2017. https://web.archive.org/web/20170314232030/https://pypl.github.io/PYPL.html. live.
  28. Web site: PEP 8100 . Python Software Foundation . 4 May 2019 . 4 June 2020 . https://web.archive.org/web/20200604235027/https://www.python.org/dev/peps/pep-8100/ . live.
  29. Web site: PEP 13 – Python Language Governance. 2021-08-25. Python.org. en. 27 May 2021. https://web.archive.org/web/20210527000035/https://www.python.org/dev/peps/pep-0013/. live.
  30. Web site: 2to3 – Automated Python 2 to 3 code translation. 2021-02-02. docs.python.org. 4 June 2020. https://web.archive.org/web/20200604232823/https://docs.python.org/3/library/2to3.html. live.
  31. Web site: PEP 373 – Python 2.7 Release Schedule . python.org . 9 January 2017 . 19 May 2020 . https://web.archive.org/web/20200519075520/https://legacy.python.org/dev/peps/pep-0373/ . live.
  32. Web site: PEP 466 – Network Security Enhancements for Python 2.7.x . python.org . 9 January 2017 . 4 June 2020 . https://web.archive.org/web/20200604232833/https://www.python.org/dev/peps/pep-0466/ . live.
  33. Web site: Sunsetting Python 2. Python.org. en. 22 September 2019. 12 January 2020. https://web.archive.org/web/20200112080903/https://www.python.org/doc/sunset-python-2/. live.
  34. Web site: PEP 373 – Python 2.7 Release Schedule. Python.org. en. 22 September 2019. 13 January 2020. https://web.archive.org/web/20200113033257/https://www.python.org/dev/peps/pep-0373/. live.
  35. Web site: Python Release Python 3.7.17 . 2023-08-18 . Python.org . en . 31 July 2023 . https://web.archive.org/web/20230731174749/https://www.python.org/downloads/release/python-3717/ . live.
  36. Web site: mattip . 2023-12-25 . PyPy v7.3.14 release . 2024-01-05 . PyPy . en . 5 January 2024 . https://web.archive.org/web/20240105132820/https://www.pypy.org/posts/2023/12/pypy-v7314-release.html . live.
  37. Web site: CVE-2021-3177 . 2021-02-26. Red Hat Customer Portal . 6 March 2021. https://web.archive.org/web/20210306183700/https://access.redhat.com/security/cve/cve-2021-3177. live.
  38. Web site: CVE-2021-3177. 2021-02-26. CVE. 27 February 2021. https://web.archive.org/web/20210227192918/https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3177. live.
  39. Web site: CVE-2021-23336. 2021-02-26. CVE. 24 February 2021. https://web.archive.org/web/20210224160700/https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23336. live.
  40. Web site: Langa . Łukasz . 2022-03-24 . Python 3.10.4 and 3.9.12 are now available out of schedule . 2022-04-19 . Python Insider . 21 April 2022 . https://web.archive.org/web/20220421205820/https://pythoninsider.blogspot.com/2022/03/python-3104-and-3912-are-now-available.html . live.
  41. Web site: Langa . Łukasz . 2022-03-16 . Python 3.10.3, 3.9.11, 3.8.13, and 3.7.13 are now available with security content . 2022-04-19 . Python Insider . 17 April 2022 . https://web.archive.org/web/20220417215022/https://pythoninsider.blogspot.com/2022/03/python-3103-3911-3813-and-3713-are-now.html . live.
  42. Web site: Langa . Łukasz . 2022-05-17 . Python 3.9.13 is now available . 2022-05-21 . Python Insider . 17 May 2022 . https://web.archive.org/web/20220517173546/https://pythoninsider.blogspot.com/2022/05/python-3913-is-now-available.html . live.
  43. Web site: Python releases 3.10.7, 3.9.14, 3.8.14, and 3.7.14 are now available . Python Insider . Łukasz . Langa . 7 September 2022 . 16 September 2022 . 13 September 2022 . https://web.archive.org/web/20220913001104/https://pythoninsider.blogspot.com/2022/09/python-releases-3107-3914-3814-and-3714.html . live.
  44. Web site: CVE-2020-10735 . CVE . 16 September 2022 . 20 September 2022 . https://web.archive.org/web/20220920170528/https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735 . live.
  45. Web site: Built-in Types .
  46. Web site: Python 3.11 released [LWN.net] ]. corbet . lwn.net . 24 October 2022 . 15 November 2022 .
  47. Web site: 2024-07-23 . Python . 2023-08-15 . endoflife.date . en-US . 18 September 2021 . https://web.archive.org/web/20210918162455/https://endoflife.date/python . live.
  48. Web site: What's New In Python 3.13 . 2024-04-30 . Python documentation . en.
  49. Web site: Wouters . Thomas . 2024-04-09 . Python Insider: Python 3.12.3 and 3.13.0a6 released . 2024-04-29 . Python Insider.
  50. https://peps.python.org/pep-0594/
  51. Web site: Extending and Embedding the Python Interpreter: Reference Counts . Docs.python.org . en . 5 June 2020 . Since Python makes heavy use of malloc and free, it needs a strategy to avoid memory leaks as well as the use of freed memory. The chosen method is called reference counting. . 18 October 2012 . https://web.archive.org/web/20121018063230/http://docs.python.org/extending/extending.html#reference-counts . live.
  52. Web site: Python Changes 2014+ . Lutz . Mark . January 2022 . Learning Python . 2024-02-25 . 15 March 2024 . https://web.archive.org/web/20240315075935/https://learning-python.com/python-changes-2014-plus.html . live.
  53. Web site: Confusion regarding a rule in The Zen of Python . . 2022-05-03 . Python Help - Discussions on Python.org . 2024-02-25 . 25 February 2024 . https://web.archive.org/web/20240225221142/https://discuss.python.org/t/confusion-regarding-a-rule-in-the-zen-of-python/15927 . live.
  54. Web site: The Most Controversial Python Walrus Operator . Ambi . Chetan . 2021-07-04 . Python Simplified . 2024-02-05 . 27 August 2023 . https://web.archive.org/web/20230827154931/https://pythonsimplified.com/the-most-controversial-python-walrus-operator/ . live.
  55. Web site: The Controversy Behind The Walrus Operator in Python . Grifski . Jeremy . 2020-05-24 . The Renegade Coder . 2024-02-25 . 28 December 2023 . https://web.archive.org/web/20231228135749/https://therenegadecoder.com/code/the-controversy-behind-the-walrus-operator-in-python/ . live.
  56. Web site: Python String Formatting Best Practices . Bader . Dan . Real Python . 2024-02-25 . 18 February 2024 . https://web.archive.org/web/20240218083506/https://realpython.com/python-string-formatting/ . live.
  57. Web site: 15 Ways Python Is a Powerful Force on the Web. 3 July 2018. 11 May 2019. https://web.archive.org/web/20190511065650/http://insidetech.monster.com/training/articles/8114-15-ways-python-is-a-powerful-force-on-the-web. dead.
  58. Web site: pprint – Data pretty printer – Python 3.11.0 documentation . 2022-11-05 . docs.python.org . stuff=['spam', 'eggs', 'lumberjack', 'knights', 'ni'] . 22 January 2021 . https://web.archive.org/web/20210122224848/https://docs.python.org/3/library/pprint.html . live.
  59. Web site: Code Style – The Hitchhiker's Guide to Python. docs.python-guide.org. 20 January 2021. 27 January 2021. https://web.archive.org/web/20210127154341/https://docs.python-guide.org/writing/style/. live.
  60. Book: Guttag, John V. . MIT Press . 978-0-262-52962-4 . Introduction to Computation and Programming Using Python: With Application to Understanding Data . 12 August 2016.
  61. Web site: PEP 8 – Style Guide for Python Code. Python.org. 26 March 2019. 17 April 2019. https://web.archive.org/web/20190417223549/https://www.python.org/dev/peps/pep-0008/. live.
  62. Web site: 8. Errors and Exceptions – Python 3.12.0a0 documentation . 2022-05-09 . docs.python.org . 9 May 2022 . https://web.archive.org/web/20220509145745/https://docs.python.org/3.11/tutorial/errors.html . live.
  63. Web site: Highlights: Python 2.5. Python.org. 20 March 2018. 4 August 2019. https://web.archive.org/web/20190804120408/https://www.python.org/download/releases/2.5/highlights/. live.
  64. Web site: division. python.org. 30 July 2014. 20 July 2006. https://web.archive.org/web/20060720033244/http://docs.python.org/. live.
  65. Web site: PEP 0465 – A dedicated infix operator for matrix multiplication . python.org . 1 January 2016 . 4 June 2020 . https://web.archive.org/web/20200604224255/https://www.python.org/dev/peps/pep-0465/ . live.
  66. Web site: Python 3.5.1 Release and Changelog . python.org . 1 January 2016 . 14 May 2020 . https://web.archive.org/web/20200514034938/https://www.python.org/downloads/release/python-351/ . live.
  67. Web site: What's New in Python 3.8 . 14 October 2019 . 8 June 2020 . https://web.archive.org/web/20200608124345/https://docs.python.org/3.8/whatsnew/3.8.html . live.
  68. Web site: 4. Built-in Types – Python 3.6.3rc1 documentation. python.org. 1 October 2017. 14 June 2020. https://web.archive.org/web/20200614194325/https://docs.python.org/3/library/stdtypes.html#tuple. live.
  69. Web site: 5.3. Tuples and Sequences – Python 3.7.1rc2 documentation. python.org. 17 October 2018. 10 June 2020. https://web.archive.org/web/20200610050047/https://docs.python.org/3/tutorial/datastructures.html#tuples-and-sequences. live.
  70. Web site: PEP 498 – Literal String Interpolation . python.org . 8 March 2017 . 15 June 2020 . https://web.archive.org/web/20200615184141/https://www.python.org/dev/peps/pep-0498/ . live.
  71. Book: Sweigart . Al . Beyond the Basic Stuff with Python: Best Practices for Writing Clean Code . 2020 . No Starch Press . 978-1-59327-966-0 . 322 . en . 7 July 2021 . 13 August 2021 . https://web.archive.org/web/20210813194312/https://books.google.com/books?id=7GUKEAAAQBAJ&pg=PA322 . live.
  72. Web site: PEP 484 – Type Hints peps.python.org . 2023-11-29 . peps.python.org . 27 November 2023 . https://web.archive.org/web/20231127205023/https://peps.python.org/pep-0484/ . live.
  73. Web site: typing — Support for type hints . Python documentation . Python Software Foundation . 22 December 2023 . 21 February 2020 . https://web.archive.org/web/20200221184042/https://docs.python.org/3/library/typing.html . live.
  74. Web site: mypy – Optional Static Typing for Python . 28 January 2017 . 6 June 2020 . https://web.archive.org/web/20200606192012/http://mypy-lang.org/ . live.
  75. Web site: Introduction . mypyc.readthedocs.io . 22 December 2023 . 22 December 2023 . https://web.archive.org/web/20231222000457/https://mypyc.readthedocs.io/en/latest/introduction.html . live.
  76. Web site: 15. Floating Point Arithmetic: Issues and Limitations – Python 3.8.3 documentation . 6 June 2020 . docs.python.org . Almost all machines today (November 2000) use IEEE-754 floating point arithmetic, and almost all platforms map Python floats to IEEE-754 "double precision". . 6 June 2020 . https://web.archive.org/web/20200606113842/https://docs.python.org/3.8/tutorial/floatingpoint.html#representation-error . live.
  77. Web site: Built-in Types . 3 October 2019 . 14 June 2020 . https://web.archive.org/web/20200614194325/https://docs.python.org/3/library/stdtypes.html#typesseq-range . live.
  78. Web site: PEP 465 – A dedicated infix operator for matrix multiplication . python.org . 3 July 2018 . 29 May 2020 . https://web.archive.org/web/20200529200310/https://legacy.python.org/dev/peps/pep-0465/ . live.
  79. Web site: What's New in Python 2.6 . Python v2.6.9 documentation . Oct 29, 2013 . 26 September 2015. 23 December 2019. https://web.archive.org/web/20191223213856/https://docs.python.org/2.6/whatsnew/2.6.html. live.
  80. Web site: 10 Reasons Python Rocks for Research (And a Few Reasons it Doesn't) – Hoyt Koepke. University of Washington Department of Statistics . 3 February 2019. 31 May 2020. https://web.archive.org/web/20200531211840/https://www.stat.washington.edu/~hoytak/blog/whypython.html. dead.
  81. Web site: An introduction to Python for scientific computing. Shell. Scott. 17 June 2014. 3 February 2019. 4 February 2019. https://web.archive.org/web/20190204014642/https://engineering.ucsb.edu/~shell/che210d/python.pdf. live.
  82. Web site: 2024-03-17 . PyPI . live . https://web.archive.org/web/20240317112557/https://pypi.org/ . 2024-03-17 . PyPI.
  83. Web site: Enthought. Canopy. Canopy. www.enthought.com. 20 August 2016. 15 July 2017. https://web.archive.org/web/20170715151703/https://www.enthought.com/products/canopy/. dead.
  84. Web site: PEP 7 – Style Guide for C Code peps.python.org . 2022-04-28 . peps.python.org . 24 April 2022 . https://web.archive.org/web/20220424202827/https://peps.python.org/pep-0007/ . live.
  85. Web site: 4. Building C and C++ Extensions – Python 3.9.2 documentation. 2021-03-01. docs.python.org. 3 March 2021. https://web.archive.org/web/20210303002519/https://docs.python.org/3/extending/building.html. live.
  86. Web site: Changelog – Python 3.9.0 documentation. 2021-02-08. docs.python.org. 7 February 2021. https://web.archive.org/web/20210207001142/https://docs.python.org/release/3.9.0/whatsnew/changelog.html#changelog. live.
  87. Web site: Download Python. 2020-12-13. Python.org. en. 8 December 2020. https://web.archive.org/web/20201208045225/https://www.python.org/downloads/release/python-391/. live.
  88. Web site: history [vmspython]]. 2020-12-04. www.vmspython.org. 2 December 2020. https://web.archive.org/web/20201202194743/https://www.vmspython.org/doku.php?id=history. live.
  89. Web site: Download Python for Other Platforms. 2020-12-04. Python.org. en. 27 November 2020. https://web.archive.org/web/20201127015815/https://www.python.org/download/other/. live.
  90. Web site: Team. The PyPy. 2019-12-28. Download and Install. 2022-01-08. PyPy. en. 8 January 2022. https://web.archive.org/web/20220108212951/https://www.pypy.org/download.html. live.
  91. Web site: Python-for-EV3. LEGO Education. en. 17 April 2019. 7 June 2020. https://web.archive.org/web/20200607234814/https://education.lego.com/en-us/support/mindstorms-ev3/python-for-ev3. live.
  92. News: Pyston returns from the dead to speed Python. Yegulalp. Serdar. 29 October 2020. InfoWorld. 26 January 2021. 27 January 2021. https://web.archive.org/web/20210127113233/https://www.infoworld.com/article/3587591/pyston-returns-from-the-dead-to-speed-python.html. live.
  93. Web site: cinder: Instagram's performance-oriented fork of CPython.. GitHub. 4 May 2021. en. 4 May 2021. https://web.archive.org/web/20210504112500/https://github.com/facebookincubator/cinder. live.
  94. Web site: Aroca . Rafael . 2021-08-07 . Snek Lang: feels like Python on Arduinos . 2024-01-04 . Yet Another Technology Blog . en . 5 January 2024 . https://web.archive.org/web/20240105001031/https://rafaelaroca.wordpress.com/2021/08/07/snek-lang-feels-like-python-on-arduinos/ . live.
  95. Web site: Aufranc (CNXSoft) . Jean-Luc . 2020-01-16 . Snekboard Controls LEGO Power Functions with CircuitPython or Snek Programming Languages (Crowdfunding) – CNX Software . 2024-01-04 . CNX Software – Embedded Systems News . en-US . 5 January 2024 . https://web.archive.org/web/20240105001031/https://www.cnx-software.com/2020/01/16/snekboard-controls-lego-power-functions-with-circuitpython-or-snek-programming-languages/ . live.
  96. Web site: Kennedy (@mkennedy) . Michael . Ready to find out if you're git famous? . 2024-01-04 . pythonbytes.fm . en-US . 5 January 2024 . https://web.archive.org/web/20240105001031/https://pythonbytes.fm/episodes/show/187/ready-to-find-out-if-youre-git-famous . live.
  97. Web site: Packard . Keith . 2022-12-20 . The Snek Programming Language: A Python-inspired Embedded Computing Language . 4 January 2024 . 4 January 2024 . https://web.archive.org/web/20240104162458/https://sneklang.org/doc/snek.pdf . live.
  98. Web site: Python on the Nokia N900. Stochastic Geometry. 29 April 2010. 9 July 2015. 20 June 2019. https://web.archive.org/web/20190620000053/http://www.stochasticgeometry.ie/2010/04/29/python-on-the-nokia-n900/. live.
  99. Web site: Brython. 2021-01-21. brython.info. 3 August 2018. https://web.archive.org/web/20180803065954/http://brython.info/. live.
  100. Web site: Transcrypt – Python in the browser. 22 December 2020. transcrypt.org. en. 19 August 2018. https://web.archive.org/web/20180819133303/http://www.transcrypt.org/. live.
  101. Web site: Transcrypt: Anatomy of a Python to JavaScript Compiler. InfoQ. 20 January 2021. 5 December 2020. https://web.archive.org/web/20201205193339/https://www.infoq.com/articles/transcrypt-python-javascript-compiler/. live.
  102. Web site: Codon: Differences with Python . live . https://web.archive.org/web/20230525002540/https://docs.exaloop.io/codon/general/differences . 2023-05-25 . 2023-08-28.
  103. Web site: Lawson . Loraine . 2023-03-14 . MIT-Created Compiler Speeds up Python Code . live . https://web.archive.org/web/20230406054200/https://thenewstack.io/mit-created-compiler-speeds-up-python-code/ . 2023-04-06 . 2023-08-28 . The New Stack . en-US.
  104. Web site: Transpiling Python to Julia using PyJL. After manually modifying one line of code by specifying the necessary type information, we obtained a speedup of 52.6×, making the translated Julia code 19.5× faster than the original Python code.. 20 September 2023. 19 November 2023. https://web.archive.org/web/20231119071525/https://web.ist.utl.pt/antonio.menezes.leitao/ADA/documents/publications_docs/2022_TranspilingPythonToJuliaUsingPyJL.pdf. live.
  105. Web site: Nuitka Home Nuitka Home. 18 August 2017. nuitka.net. en. 30 May 2020. https://web.archive.org/web/20200530211233/https://nuitka.net/. live.
  106. Guelton . Serge . Brunet . Pierrick . Amini . Mehdi . Merlini . Adrien . Corbillon . Xavier . Raynaud . Alan . Pythran: enabling static optimization of scientific Python programs . Computational Science & Discovery . IOP Publishing . 8 . 1 . 16 March 2015 . 1749-4699 . 10.1088/1749-4680/8/1/014001. free . 014001 . 2015CS&D....8a4001G.
  107. Web site: The Python → 11l → C++ transpiler . 17 July 2022 . 24 September 2022 . https://web.archive.org/web/20220924233728/https://11l-lang.org/transpiler/ . live.
  108. Web site: google/grumpy. 10 April 2020. GitHub. 25 March 2020. 15 April 2020. https://web.archive.org/web/20200415054919/https://github.com/google/grumpy. live.
  109. Web site: Projects. opensource.google. 25 March 2020. 24 April 2020. https://web.archive.org/web/20200424191248/https://opensource.google/projects/. live.
  110. Web site: Google's Grumpy code makes Python Go. Thomas Claburn in San. Francisco. www.theregister.com. 20 January 2021. 7 March 2021. https://web.archive.org/web/20210307165521/https://www.theregister.com/2017/01/05/googles_grumpy_makes_python_go/. live.
  111. Web site: GitHub – IronLanguages/ironpython3: Implementation of Python 3.x for .NET Framework that is built on top of the Dynamic Language Runtime . . 28 September 2021 . https://web.archive.org/web/20210928101250/https://github.com/IronLanguages/ironpython3 . live.
  112. Web site: IronPython.net /. ironpython.net. 17 April 2021. https://web.archive.org/web/20210417064418/https://ironpython.net/. live.
  113. Web site: Jython FAQ. 2021-04-22. www.jython.org. 22 April 2021. https://web.archive.org/web/20210422055726/https://www.jython.org/jython-old-sites/archive/22/userfaq.html. live.
  114. Performance of Python runtimes on a non-numeric scientific code . Murri . Riccardo . European Conference on Python in Science (EuroSciPy) . 2013 . 1404.6388. 2014arXiv1404.6388M.
  115. Web site: The Computer Language Benchmarks Game. 30 April 2020. 14 June 2020. https://web.archive.org/web/20200614210246/https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/python.html. live.
  116. Web site: PEP 8 – Style Guide for Python Code. Python.org. 26 March 2019. 17 April 2019. https://web.archive.org/web/20190417223549/https://www.python.org/dev/peps/pep-0008/. live.
  117. Web site: Moving Python's bugs to GitHub [LWN.net] . 2 October 2022 . 2 October 2022 . https://web.archive.org/web/20221002183818/https://lwn.net/Articles/885854/ . live.
  118. Web site: Python Developer's Guide – Python Developer's Guide. devguide.python.org. 17 December 2019. 9 November 2020. https://web.archive.org/web/20201109032501/https://devguide.python.org/. live.
  119. Web site: Hughes . Owen . 2021-05-24 . Programming languages: Why Python 4.0 might never arrive, according to its creator . 2022-05-16 . TechRepublic . en-US . 14 July 2022 . https://web.archive.org/web/20220714201302/https://www.techrepublic.com/article/programming-languages-why-python-4-0-will-probably-never-arrive-according-to-its-creator/ . live.
  120. Web site: PEP 602 – Annual Release Cycle for Python. Python.org. en. 6 November 2019. 14 June 2020. https://web.archive.org/web/20200614202755/https://www.python.org/dev/peps/pep-0602/. live.
  121. Web site: Changing the Python release cadence [LWN.net]]. lwn.net. 6 November 2019. 6 November 2019. https://web.archive.org/web/20191106170153/https://lwn.net/Articles/802777/. live.
  122. Web site: 1. Extending Python with C or C++ – Python 3.9.1 documentation. 2021-02-14. docs.python.org. 23 June 2020. https://web.archive.org/web/20200623232830/https://docs.python.org/3/extending/extending.html. live.
  123. Web site: PEP 623 – Remove wstr from Unicode. 2021-02-14. Python.org. en. 5 March 2021. https://web.archive.org/web/20210305153214/https://www.python.org/dev/peps/pep-0623/. live.
  124. Web site: PEP 634 – Structural Pattern Matching: Specification. 2021-02-14. Python.org. en. 6 May 2021. https://web.archive.org/web/20210506005315/https://www.python.org/dev/peps/pep-0634/. live.
  125. Web site: Documentation Tools . 2021-03-22 . Python.org . en . 11 November 2020 . https://web.archive.org/web/20201111173635/https://wiki.python.org/moin/DocumentationTools . live.
  126. Book: Lutz . Mark . Learning Python: Powerful Object-Oriented Programming . 2009 . O'Reilly Media, Inc. . 9781449379322 . 17 . en . 9 May 2017 . 17 July 2017 . https://web.archive.org/web/20170717044012/https://books.google.com/books?id=1HxWGezDZcgC&pg=PA17 . live.
  127. Book: Fehily . Chris . Python . 2002 . Peachpit Press . 9780201748840 . xv . en . 9 May 2017 . 17 July 2017 . https://web.archive.org/web/20170717044040/https://books.google.com/books?id=carqdIdfVlYC&pg=PR15 . live.
  128. Book: Lubanovic, Bill . Sebastopol, CA : O'Reilly Media . 978-1-4493-5936-2 . Introducing Python . 2023-07-31 . 2014 . 305.
  129. Web site: Blake. Troy. 2021-01-18. TIOBE Index for January 2021. 2021-02-26. Technology News and Information by SeniorDBA. en. 21 March 2021. https://web.archive.org/web/20210321143253/https://seniordba.wordpress.com/2021/01/18/tiobe-index-for-january-2021/. live.
  130. Web site: Tornado: Facebook's Real-Time Web Framework for Python – Facebook for Developers. Facebook for Developers. en-US. 19 June 2018. 19 February 2019. https://web.archive.org/web/20190219031313/https://developers.facebook.com/blog/post/301. live.
  131. Web site: What Powers Instagram: Hundreds of Instances, Dozens of Technologies . 11 December 2016 . Instagram Engineering . 27 May 2019 . 15 June 2020 . https://web.archive.org/web/20200615183410/https://instagram-engineering.com/what-powers-instagram-hundreds-of-instances-dozens-of-technologies-adf2e22da2ad . live.
  132. Web site: How we use Python at Spotify. Spotify Labs. en-US. 25 July 2018. 20 March 2013. 10 June 2020. https://web.archive.org/web/20200610005143/https://labs.spotify.com/2013/03/20/how-we-use-python-at-spotify/. live.
  133. Oliphant . Travis . Python for Scientific Computing . Computing in Science and Engineering . 9 . 3 . 10–20 . 2007 . 10.1109/MCSE.2007.58 . 10.1.1.474.6460 . 2007CSE.....9c..10O . 206457124 . 10 April 2015 . 15 June 2020 . https://web.archive.org/web/20200615193226/https://www.h2desk.com/blog/python-scientific-computing/ . live. 1521-9615 .
  134. K. Jarrod . Millman . Michael . Aivazis . Python for Scientists and Engineers . Computing in Science and Engineering . 13 . 2 . 9–12 . 2011 . 10.1109/MCSE.2011.36 . 2011CSE....13b...9M . 7 July 2014 . 19 February 2019 . https://web.archive.org/web/20190219031439/https://www.computer.org/csdl/mags/cs/2011/02/mcs2011020009.html . live.
  135. Web site: OpenCV: OpenCV-Python Tutorials. 2020-09-14. docs.opencv.org. 23 September 2020. https://web.archive.org/web/20200923063145/https://docs.opencv.org/3.4.9/d6/d00/tutorial_py_root.html. live.
  136. Web site: Dean . Jeff . Monga . Rajat . Sanjay . Ghemawat . 2 . Jeff Dean (computer scientist) . TensorFlow: Large-scale machine learning on heterogeneous systems . TensorFlow.org . Google Research . 10 November 2015 . 9 November 2015 . 20 November 2015 . https://web.archive.org/web/20151120004649/http://download.tensorflow.org/paper/whitepaper2015.pdf . live.
  137. Web site: Piatetsky . Gregory . Python eats away at R: Top Software for Analytics, Data Science, Machine Learning in 2018: Trends and Analysis . KDnuggets . 30 May 2018 . 15 November 2019 . https://web.archive.org/web/20191115234216/https://www.kdnuggets.com/2018/05/poll-tools-analytics-data-science-machine-learning-results.html/2 . live.
  138. Web site: Who is using scikit-learn? – scikit-learn 0.20.1 documentation. scikit-learn.org. 30 November 2018. 6 May 2020. https://web.archive.org/web/20200506210716/https://scikit-learn.org/stable/testimonials/testimonials.html. live.
  139. Web site: Norman Jouppi . Jouppi . Norm . Google supercharges machine learning tasks with TPU custom chip . Google Cloud Platform Blog . 19 May 2016 . 18 May 2016 . https://web.archive.org/web/20160518201516/https://cloudplatform.googleblog.com/2016/05/Google-supercharges-machine-learning-tasks-with-custom-chip.html . live.
  140. De Raedt . Luc . Kimmig. Angelika . Probabilistic (logic) programming concepts . Machine Learning . 2015 . 100 . 1 . 5–47 . 10.1007/s10994-015-5494-z . 3166992 . free.
  141. Andersen, C. and Swift, T., 2023. The Janus System: a bridge to new prolog applications. In Prolog: The Next 50 Years (pp. 93–104). Cham: Springer Nature Switzerland.
  142. Web site: SWI-Prolog Python interface . 2024-03-15 . en-US . 15 March 2024 . https://web.archive.org/web/20240315162046/https://www.swi-prolog.org/pldoc/doc_for?object=section%28%27packages%2Fjanus.html%27%29 . live.
  143. Tarau, P., 2023. Reflections on automation, learnability and expressiveness in logic-based programming languages. In Prolog: The Next 50 Years (pp. 359–371). Cham: Springer Nature Switzerland.
  144. Web site: Tkinter — Python interface to TCL/Tk . 9 June 2023 . 18 October 2012 . https://web.archive.org/web/20121018043136/http://docs.python.org/library/tkinter.html . live.
  145. Web site: Python Tkinter Tutorial . 3 June 2020 . 9 June 2023 . 9 June 2023 . https://web.archive.org/web/20230609031631/https://www.geeksforgeeks.org/python-tkinter-tutorial/ . live.
  146. Web site: Installers for GIMP for Windows – Frequently Asked Questions . . 26 July 2013 . 26 July 2013 . dead . https://web.archive.org/web/20130717070814/http://gimp-win.sourceforge.net/faq.html . 17 July 2013.
  147. Web site: Python Setup and Usage. Python Software Foundation. 10 January 2020. 17 June 2020. https://web.archive.org/web/20200617143505/https://docs.python.org/3/using/unix.html. live.
  148. Web site: 4.0 New Features and Fixes . . LibreOffice.org . 2013 . 25 February 2013 . 9 February 2014 . https://web.archive.org/web/20140209184807/http://www.libreoffice.org/download/4-0-new-features-and-fixes/ . live.
  149. Web site: Frequently asked questions. Godot Engine documentation. 10 May 2021. 28 April 2021. https://web.archive.org/web/20210428053339/https://docs.godotengine.org/en/stable/about/faq.html. live.
  150. Web site: Why We Created Julia . February 2012 . Julia website . 5 June 2014 . We want something as usable for general programming as Python [...] . 2 May 2020 . https://web.archive.org/web/20200502144010/https://julialang.org/blog/2012/02/why-we-created-julia/ . live.
  151. Web site: Modular Docs – Why Mojo . 2023-05-05 . docs.modular.com . en . Mojo as a member of the Python family [..] Embracing Python massively simplifies our design efforts, because most of the syntax is already specified. [..] we decided that the right long-term goal for Mojo is to provide a superset of Python (i.e. be compatible with existing programs) and to embrace the CPython immediately for long-tail ecosystem enablement. To a Python programmer, we expect and hope that Mojo will be immediately familiar, while also providing new tools for developing systems-level code that enable you to do things that Python falls back to C and C++ for. . 5 May 2023 . https://web.archive.org/web/20230505083518/https://docs.modular.com/mojo/why-mojo.html . live.
  152. Web site: Spencer . Michael . What is Mojo Programming Language? . 2023-05-05 . datasciencelearningcenter.substack.com . 4 May 2023 . en . 5 May 2023 . https://web.archive.org/web/20230505090408/https://datasciencelearningcenter.substack.com/p/what-is-mojo-programming-language . live.
  153. Web site: Nim language draws from best of Python, Rust, Go, and Lisp . Serdar . Yegulalp . 16 January 2017 . InfoWorld . Nim's syntax is strongly reminiscent of Python's, as it uses indented code blocks and some of the same syntax (such as the way if/elif/then/else blocks are constructed). . 7 June 2020 . 13 October 2018 . https://web.archive.org/web/20181013211847/https://www.infoworld.com/article/3157745/application-development/nim-language-draws-from-best-of-python-rust-go-and-lisp.html . live.
  154. Web site: Chris Lattner's Homepage . Chris Lattner . Chris . Lattner . Chris Lattner . 3 June 2014 . 3 June 2014 . I started work on the Swift Programming Language in July of 2010. I implemented much of the basic language structure, with only a few people knowing of its existence. A few other (amazing) people started contributing in earnest late in 2011, and it became a major focus for the Apple Developer Tools group in July 2013 [...] drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list. . 22 December 2015 . https://web.archive.org/web/20151222150510/http://nondot.org/sabre/ . live.
  155. Web site: Jalan . Nishant Aanjaney . 2022-11-10 . Programming in Kotlin . 2024-04-29 . CodeX . en.
  156. Web site: Swift Evolution Process . 18 February 2020 . Swift Programming Language Evolution repository on GitHub . 27 April 2020 . 27 April 2020 . https://web.archive.org/web/20200427182556/https://github.com/apple/swift-evolution/blob/master/process.md . live.