0% found this document useful (0 votes)
2 views28 pages

Python (Programming Language) - Wikipedia

Python is a high-level, general-purpose programming language known for its readability and support for multiple programming paradigms. Developed by Guido van Rossum and first released in 1991, Python has evolved through various versions, with Python 3.0 being a significant revision that introduced many new features. It is widely used in the programming community and particularly popular in machine learning, with a comprehensive standard library and an emphasis on extensibility.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
2 views28 pages

Python (Programming Language) - Wikipedia

Python is a high-level, general-purpose programming language known for its readability and support for multiple programming paradigms. Developed by Guido van Rossum and first released in 1991, Python has evolved through various versions, with Python 3.0 being a significant revision that introduced many new features. It is widely used in the programming community and particularly popular in machine learning, with a comprehensive standard library and an emphasis on extensibility.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 28

Python (programming language)

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

Python is dynamically type-checked 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.[33][34]

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.[35] 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.[36]

Python consistently ranks as one of the most popular programming languages, and has gained widespread use in the machine learning
community.[37][38][39][40]

History

The designer of Python,


Guido van Rossum, at
OSCON 2006

Python was conceived in the late 1980s[41] 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,[42] capable of exception handling and interfacing with the Amoeba operating
system.[12] Its implementation began in December 1989.[43] 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[44] (he has 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.[45][46]

The name Python is said to come from the Monty Python's Flying Circus.[47]

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.[48] 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.[49][50] No further security patches or other improvements will be
released for it.[51][52] While Python 2.7 and older versions are officially unsupported, a different unofficial Python implementation, PyPy,
continues to support Python 2, i.e. "2.7.18+" (plus 3.10), with the plus meaning (at least some) "backported security updates".[53]

Python 3.0 was released on 3 December 2008, with some new semantics and changed syntax. At least every Python release since (now
unsupported) 3.5 has added some syntax to the language, and a few later releases have dropped outdated modules, or changed semantics, at
least in a minor way.

Since 7 October 2024, Python 3.13 is the latest stable release, and it and, for few more months, 3.12 are the only releases with active support
including for bugfixes (as opposed to just for security) and Python 3.9,[54] is the oldest supported version of Python (albeit in the 'security
support' phase), due to Python 3.8 reaching end-of-life.[55][56] 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).

Security updates were expedited in 2021 (and again twice in 2022, and more fixed in 2023 and in September 2024 for Python 3.12.6 down to
3.8.20), since all Python versions were insecure (including 2.7[57]) because of security issues leading to possible remote code execution[58] and
web-cache poisoning.[59]
Python 3.10 added the | union type operator[60] and the match and case keywords (for
Python
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.[61] 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 (again improved in 3.14), and many other changes.

Python 3.13 introduces more syntax for types, a new and improved interactive interpreter
Paradigm Multi-paradigm:
(REPL), featuring multi-line editing and color support; an incremental garbage collector
object-oriented,[1]
(producing shorter pauses for collection in programs with a lot of objects, and addition to the
procedural
improved speed in 3.11 and 3.12), and an experimental just-in-time (JIT) compiler (such (imperative),
features, can/needs to be enabled specifically for the increase in speed),[62] and an functional, structured,
experimental free-threaded build mode, which disables the global interpreter lock (GIL), reflective
allowing threads to run more concurrently, that latter feature enabled with python3.13t or
Designed by Guido van Rossum
python3.13t.exe .
Developer Python Software
Python 3.13 introduces some change in behavior, i.e. new "well-defined semantics", fixing Foundation
bugs (plus many removals of deprecated classes, functions and methods, and removed
First appeared 20 February 1991[2]
some of the C API and outdated modules): "The [old] implementation of locals() and
frame.f_locals is slow, inconsistent and buggy [and it has] has many corner cases and
Stable release 3.13.1 / 3 December
oddities. Code that works around those may need to be changed. Code that uses
2024
locals() for simple templating, or print debugging, will continue to work correctly."[63]
Typing discipline duck, dynamic,
Some (more) standard library modules and many deprecated classes, functions and strong;[3] optional
methods, will be removed in Python 3.15 or 3.16.[64][65] type annotations
(since 3.5, but those
Python 3.14 is now in alpha 2;[66] regarding possible change to annotations: "In Python 3.14, hints are ignored,
from __future__ import annotations will continue to work as it did before, converting except with unofficial
[67]
annotations into strings." tools)[4]

PEP 711 proposes PyBI: a standard format for distributing Python Binaries.[68] OS Tier 1: 64-bit Linux,
macOS; 64- and 32-
[69]
Python 3.15 will "Make UTF-8 mode default", the mode exists in all current Python bit Windows 10+[5]
versions, but currently needs to be opted into. UTF-8 is already used, by default, on Windows Tier 2: E.g. 32-bit

(and elsewhere), for most things, but e.g. to open files it's not and enabling also makes WebAssembly
(WASI)
code fully cross-platform, i.e. use UTF-8 for everything on all platforms.
Tier 3: 64-bit
Android,[6] iOS,
Design philosophy and features FreeBSD, and (32-bit)
Raspberry Pi OS
Python is a multi-paradigm programming language. Object-oriented programming and Unofficial (or has
structured programming are fully supported, and many of their features support functional been known to work):
[70]
programming and aspect-oriented programming (including metaprogramming and Other Unix-like/BSD
metaobjects).[71] Many other paradigms are supported via extensions, including design by variants) and a few

contract[72][73] and logic programming.[74] Python is known as a glue language,[75] able to other platforms[7][8][9]

work very well with many other languages with ease of access. License Python Software
Foundation License
Python uses dynamic typing and a combination of reference counting and a cycle-detecting
garbage collector for memory management.[76] It uses dynamic name resolution (late Filename extensions .py, .pyw, .pyz,[10]
binding), which binds method and variable names during program execution. .pyi, .pyc, .pyd

Its design offers some support for functional programming in the Lisp tradition. It has Website python.org (https://w
ww.python.org/)
filter , map and reduce functions; list comprehensions, dictionaries, sets, and
generator expressions.[77] The standard library has two modules ( itertools and Major implementations
[78]
functools ) that implement functional tools borrowed from Haskell and Standard ML.
CPython, PyPy, Stackless Python,
MicroPython, CircuitPython, IronPython,
Its core philosophy is summarized in the Zen of Python (PEP 20), which includes aphorisms
Jython
such as:[79]

Beautiful is better than ugly. Dialects

Explicit is better than implicit. Cython, RPython, Starlark[11]


Simple is better than complex. Influenced by

Complex is better than complicated.


ABC,[12] Ada,[13] ALGOL 68,[14]

Readability counts. APL,[15] C,[16] C++,[17] CLU,[18] Dylan,[19]


Haskell,[20][15] Icon,[21] Lisp,[22]
However, Python features regularly violate these principles and have received criticism for
Modula-3,[14][17] Perl,[23] Standard ML[15]
adding unnecessary language bloat.[80] Responses to these criticisms are that the Zen of
Python is a guideline rather than a rule.[81] The addition of some new features had been so Influenced

controversial that Guido van Rossum resigned as Benevolent Dictator for Life following vitriol Apache Groovy, Boo, Cobra, CoffeeScript,[24] D,
over the addition of the assignment expression operator in Python 3.8.[82][83] F#, GDScript, Go, JavaScript,[25][26] Julia,[27]
Mojo,[28] Nim, Ring,[29] Ruby,[30] Swift[31]
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 Python Programming at Wikibooks

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.[41]

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.[79] 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.[84] 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."[85]

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.[86] 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.[87]

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[88]—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".[89][90] 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.[91]

Syntax and semantics

An example of Python code and


indentation

Example of C# code with curly braces


and semicolons

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.[92]
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.[93] Thus, the program's visual structure accurately represents its
semantic structure.[94] 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.[95]

Statements and control flow

Python's statements include:

The assignment statement, using a single equals sign =

The if statement, which conditionally executes a block of code, along with else and elif (a contraction of else-if)

The for statement, which iterates over an iterable object, capturing each element to a local variable for use by the attached block

The while statement, which executes a block of code as long as its condition is true

The try statement, which allows exceptions raised in its attached code block to be caught and handled by except clauses (or new
syntax except* in Python 3.11 for exception groups[96]); it also ensures that clean-up code in a finally block is always run regardless
of how the block exits

The raise statement, used to raise a specified exception or re-raise a caught exception

The class statement, which executes a block of code and attaches its local namespace to a class, for use in object-oriented programming

The def statement, which defines a function or method

The with statement, which encloses a code block within a context manager (for example, acquiring a lock before it is run, then releasing
the lock; or opening and closing a file), allowing resource-acquisition-is-initialization (RAII)-like behavior and replacing a common try/finally
idiom[97]

The break statement, which exits a loop

The continue statement, which skips the rest of the current iteration and continues with the next

The del statement, which removes a variable—deleting the reference from the name to the value, and producing an error if the variable is
referred to before it is redefined

The pass statement, serving as a NOP, syntactically needed to create an empty code block

The assert statement, used in debugging to check for conditions that should apply

The yield statement, which returns a value from a generator function (and also an operator); used to implement coroutines

The return statement, used to return a value from a function

The import and from statements, used to import modules whose functions or variables can be used in the current program

The match and case statements, an analog of the switch statement construct, that compares an expression against one or more cases
as a control-of-flow measure.

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.[98][99] However, better
support for coroutine-like functionality is provided by extending Python's generators.[100] 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.[101]

Expressions

Python's expressions include:


The + , - , and * operators for mathematical addition, subtraction, and multiplication are similar to other languages, but the behavior of
division differs. There are two types of divisions in Python: floor division (or integer division) // and floating-point / division.[102] Python
uses the ** operator for exponentiation.

Python uses the + operator for string concatenation. Python uses the * operator for duplicating a string a specified number of times.

The @ infix operator is intended to be used by libraries such as NumPy for matrix multiplication.[103][104]

The syntax := , called the "walrus operator", was introduced in Python 3.8. It assigns values to variables as part of a larger expression.[105]

In Python, == compares by value. Python's is operator may be used to compare object identities (comparison by reference), and
comparisons may be chained—for example, a <= b <= c .

Python uses and , or , and not as Boolean operators.

Python has a type of expression named a list comprehension, and a more general expression named a generator expression.[77]

Anonymous functions are implemented using lambda expressions; however, there may be only one expression in each body.

Conditional expressions are written as x if c else y [106] (different in order of operands from the c ? x : y operator common to
many other languages).

Python makes a distinction between lists and tuples. Lists are written as [1, 2, 3] , are mutable, and cannot be used as the keys of
dictionaries (dictionary keys must be immutable in Python). Tuples, written as (1, 2, 3) , are immutable and thus can be used as keys of
dictionaries, provided all of the tuple's elements are immutable. The + operator can be used to concatenate two tuples, which does not
directly modify their contents, but produces a new tuple containing the elements of both. Thus, given the variable t initially equal to (1,
2, 3) , executing t = t + (4, 5) first evaluates t + (4, 5) , which yields (1, 2, 3, 4, 5) , which is then assigned back to t
—thereby effectively "modifying the contents" of t while conforming to the immutable nature of tuple objects. Parentheses are optional for
tuples in unambiguous contexts.[107]

Python features sequence unpacking where multiple expressions, each evaluating to anything that can be assigned (to a variable, writable
property, etc.) are associated in an identical manner to that forming tuple literals—and, as a whole, are put on the left-hand side of the equal
sign in an assignment statement. The statement expects an iterable object on the right-hand side of the equal sign that produces the same
number of values as the provided writable expressions; when iterated through them, it assigns each of the produced values to the
corresponding expression on the left.[108]

Python has a "string format" operator % that functions analogously to printf format strings in C—e.g. "spam=%s eggs=%d" %
("blah", 2) evaluates to "spam=blah eggs=2" . In Python 2.6+ and 3+, this was supplemented by the format() method of the
str class, e.g. "spam={0} eggs={1}".format("blah", 2) . Python 3.6 added "f-strings": spam = "blah"; eggs = 2;
f'spam={spam} eggs={eggs}' .[109]

Strings in Python can be concatenated by "adding" them (with the same operator as for adding integers and floats), e.g. "spam" +
"eggs" returns "spameggs" . If strings contain numbers, they are added as strings rather than integers, e.g. "2" + "2" returns "22" .

Python has various string literals:


Delimited by single or double quotes; unlike in Unix shells, Perl, and Perl-influenced languages, single and double quotes work the same.
Both use the backslash ( \ ) as an escape character. String interpolation became available in Python 3.6 as "formatted string
literals".[109]

Triple-quoted (beginning and ending with three single or double quotes), which may span multiple lines and function like here documents
in shells, Perl, and Ruby.

Raw string varieties, denoted by prefixing the string literal with r . Escape sequences are not interpreted; hence raw strings are useful
where literal backslashes are common, such as regular expressions and Windows-style paths. (Compare " @ -quoting" in C#.)

Python has array index and array slicing expressions in lists, denoted as a[key] , a[start:stop] or a[start:stop:step] . Indexes
are zero-based, and negative indexes are relative to the end. Slices take elements from the start index up to, but not including, the stop index.
The third slice parameter, called step or stride, allows elements to be skipped and reversed. Slice indexes may be omitted—for example,
a[:] returns a copy of the entire list. Each element of a slice is a shallow copy.

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:

List comprehensions vs. for -loops

Conditional expressions vs. if blocks


The eval() vs. exec() built-in functions (in Python 2, exec is a statement); the former is for expressions, the latter is for statements

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 a = 1 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 instance.method(argument) is, for normal methods and
functions, syntactic sugar for Class.method(instance, argument) . Python methods have an explicit 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).[110] 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.[111]

Typing

The standard type hierarchy in


Python 3

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, SpamClass() or EggsClass() ), 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;[112] current Python versions only
support the semantics of the new style.

Python supports optional type annotations.[4][113] These annotations are not enforced by the language, but may be used by external tools such
as mypy to catch errors.[114][115] Mypy also supports a Python compiler called mypyc, which leverages type annotations for optimization.[116]
Summary of Python 3's built-in types

Type Mutability Description Syntax examples

True
bool immutable Boolean value
False
bytearray(b'Some
ASCII')
bytearray(b"Some
bytearray mutable Sequence of bytes
ASCII")
bytearray([119, 105,
107, 105])

b'Some ASCII'
b"Some ASCII"
bytes immutable Sequence of bytes
bytes([119, 105, 107,
105])

3+2.7j
complex immutable Complex number with real and imaginary parts
3 + 2.7j

Associative array (or dictionary) of key and value pairs; can contain mixed types (keys {'key1': 1.0, 3: False}
dict mutable
and values), keys must be a hashable type {}

...
types.EllipsisType immutable An ellipsis placeholder to be used as an index in NumPy arrays
Ellipsis

Double-precision floating-point number. The precision is machine-dependent but in


float immutable practice is generally implemented as a 64-bit IEEE 754 number with 53 bits of 1.33333
[117]
precision.

frozenset([4.0,
frozenset immutable Unordered set, contains no duplicates; can contain mixed types, if hashable
'string', True])
int immutable Integer of unlimited magnitude[118] 42

[4.0, 'string', True]


list mutable List, can contain mixed types
[]

types.NoneType immutable An object representing the absence of a value, often called null in other languages None
A placeholder that can be returned from overloaded operators to indicate unsupported
types.NotImplementedType immutable NotImplemented
operand types.

An immutable sequence of numbers commonly used for looping a specific number of range(−1, 10)
range immutable [119]
times in for loops range(10, −5, −2)

{4.0, 'string', True}


set mutable Unordered set, contains no duplicates; can contain mixed types, if hashable
set()

'Wikipedia'
"Wikipedia"

"""Spanning
multiple
lines"""
str immutable A character string: sequence of Unicode codepoints

Spanning
multiple
lines

(4.0, 'string', True)


tuple immutable Can contain mixed types ('single element',)
()

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 @ .[120] 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:[121]

Current Python (i.e. since 3.0) changed / to always be floating-point division, e.g. 5/2 == 2.5 .
The floor division // operator was introduced. So 7//3 == 2 , -7//3 == -3 , 7.5//3 == 2.0 and -7.5//3 == -3.0 . Adding
from __future__ import division causes a module used in Python 2.7 to use Python 3.0 rules for division (see above).
In Python terms, / is true division (or simply division), and // is floor division. / before version 3.0 is classic division.[121]

Rounding towards negative infinity, though different from most languages, adds consistency. For instance, it means that the equation
(a + b)//b == a//b + 1 is always true. It also means that the equation b*(a//b) + a%b == a 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 b is a positive integer, it has to lie in the interval (b, 0] when b is negative.[122]

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 .[123] Versions before 3 used round-away-from-zero: round(0.5) is 1.0 , round(-0.5) is −1.0 .[124]

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 .[125] 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 .[126]

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.[127] The Fraction class in the fractions module
provides arbitrary precision for rational numbers.[128]

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.[129][130]

Function syntax

Functions are created in Python using the def keyword. In Python, you define the function as if you were calling it, by typing the function name
and then the attributes required. Here is an example of a function that will print whatever is given:

def printer(input, input2="already there"):


print(input)
print(input2)

printer("hello")

# Example output:
# hello
# already there

If you want the attribute to have a set value if no value is given, use the variable-defining syntax inside the function definition.

Programming examples

"Hello, World!" program:

print('Hello, world!')

Program to calculate the factorial of a positive integer:

1 n = int(input('Type a number, and its factorial will be printed: '))


2
3 if n < 0:
4 raise ValueError('You must enter a non-negative integer')
5
6 factorial = 1
7 for i in range(2, n + 1):
8 factorial *= i
9
10 print(factorial)
Libraries

Python's large standard library[131] 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,[127]
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[132]—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.

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

Automation Multimedia

Data analytics Computer networking

Databases Scientific computing

Documentation System administration

Graphical user interfaces Test frameworks

Image processing Text processing

Machine learning Web frameworks

Mobile apps Web scraping

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.[134]

Implementations

Reference implementation

CPython is the reference implementation of Python. It is written in C, meeting the C89 standard (Python 3.11 uses C11[135]) 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++.[136][137] CPython compiles Python programs into an intermediate bytecode[138] which is then executed by its
virtual machine.[139] 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;[140][141] 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.[142] Platform portability was one of its earliest priorities.[143] (During Python 1 and 2
development, even OS/2 and Solaris were supported,[144] but support has since been dropped for many platforms.)

All current Python versions (i.e. since 3.7) only support operating systems with multi-threading support.

Other implementations

All alternative implementations have at least slightly different semantics (e.g. may have unordered dictionaries, unlike all current Python
versions), e.g. with the larger Python ecosystem, such as with supporting the C Python API of with PyPy:
PyPy is a fast, compliant interpreter of Python 2.7 and 3.10.[145][146] Its just-in-time compiler often brings a significant speed improvement
over CPython, but some libraries written in C cannot be used with it.[147] It has e.g. RISC-V support.

Codon (https://github.com/exaloop/codon) is a language with an ahead-of-time (AOT) compiler, that (AOT) compiles a statically-typed
Python-like language with "syntax and semantics are nearly identical to Python's, there are some notable differences"[148] e.g. it uses 64-bit
machine integers, for speed, not arbitrary like Python, and it claims speedups over CPython are usually on the order of 10–100x. It compiles
to machine code (via LLVM) and supports native multithreading.[149] Codon can also compile to Python extension modules that can be
imported and used from Python.

Stackless Python is a significant fork of CPython that implements microthreads; it does not use the call stack in the same way, thus allowing
massively concurrent programs. PyPy also has a stackless version.[150]

MicroPython and CircuitPython are Python 3 variants optimized for microcontrollers, including Lego Mindstorms EV3.[151]

Pyston is a variant of the Python runtime that uses just-in-time compilation to speed up the execution of Python programs.[152]

Cinder is a performance-oriented fork of CPython 3.8 that contains a number of optimizations, including bytecode inline caching, eager
evaluation of coroutines, a method-at-a-time JIT, and an experimental bytecode compiler.[153]
[154][155][156]
Snek (https://sneklang.org/) Embedded Computing Language (compatible with e.g. 8-bit AVR microcontrollers such as ATmega
328P-based Arduino, as well as larger ones compatible with MicroPython) "is Python-inspired, but it is not Python. It is possible to write Snek
programs that run under a full Python system, but most Python programs will not run under Snek."[157] It is an imperative language not
including OOP / classes, unlike Python, and simplifying to one number type with 32-bit single-precision (similar to JavaScript, except smaller).

No longer supported implementations

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

Google began a project named Unladen Swallow in 2009, with the aim of speeding up the Python interpreter five-fold by using the LLVM, and
of improving its multithreading ability to scale to thousands of cores,[158] while ordinary implementations suffer from the global interpreter
lock.

Psyco is a discontinued just-in-time specializing compiler that integrates with CPython and transforms bytecode to machine code at runtime.
The emitted code is specialized for certain data types and is faster than the standard Python code. Psyco does not support Python 2.7 or
later.

PyS60 was a Python 2 interpreter for Series 60 mobile phones released by Nokia in 2005. It implemented many of the modules from the
standard library and some additional modules for integrating with the Symbian operating system. The Nokia N900 also supports Python with
GTK widget libraries, enabling programs to be written and run on the target device.[159]

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:

Brython,[160] Transcrypt[161][162] and Pyjs (latest release in 2012) compile Python to JavaScript.

Cython compiles (a superset of) Python to C. The resulting code is also usable with Python via direct C-level API calls into the Python
interpreter.

PyJL compiles/transpiles a subset of Python to "human-readable, maintainable, and high-performance Julia source code".[87] Despite
claiming high performance, no tool can claim to do that for arbitrary Python code; i.e. it's known not possible to compile to a faster language
or machine code. Unless semantics of Python are changed, but in many cases speedup is possible with few or no changes in the Python
code. The faster Julia source code can then be used from Python, or compiled to machine code, and based that way.

Nuitka compiles Python into C.[163] It works with Python 3.4 to 3.12 (and 2.6 and 2.7), for Python's main supported platforms (and Windows 7
or even Windows XP) and for Android. It claims complete support for Python 3.10, some support for 3.11 and 3.12 and experimental support
for Python 3.13. It supports macOS including Apple Silicon-based. It's a free compiler, though it also has commercial add-ons (e.g. for hiding
source code).

Numba is used from Python, as a tool (enabled by adding a decorator to relevant Python code), a JIT compiler that translates a subset of
Python and NumPy code into fast machine code.

Pythran compiles a subset of Python 3 to C++ (C++11).[164]

RPython can be compiled to C, and is used to build the PyPy interpreter of Python.

The Python → 11l → C++ transpiler[165] compiles a subset of Python 3 to C++ (C++17).

Specialized:
MyHDL is a Python-based hardware description language (HDL), that converts MyHDL code to Verilog or VHDL code.

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

Google's Grumpy (latest release in 2017) transpiles Python 2 to Go.[166][167][168]

IronPython allows running Python 2.7 programs (and an alpha, released in 2021, is also available for "Python 3.4, although features and
behaviors from later versions may be included"[169]) on the .NET Common Language Runtime.[170]

Jython compiles Python 2.7 to Java bytecode, allowing the use of the Java libraries from a Python program.[171]

Pyrex (latest release in 2010) and Shed Skin (latest release in 2013) compile to C and C++ respectively.

Performance

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

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.[174] Python coding style is covered in
PEP 8.[175] Outstanding PEPs are reviewed and commented on by the Python community and the steering council.[174]

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.[176] In 2022, all issues and discussions were migrated to GitHub.[177] Development originally took place on a self-hosted source-
code repository running Mercurial, until Python moved to GitHub in January 2017.[178]

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

Backward-incompatible versions, where code is expected to break and needs to be manually ported. The first part of the version number is
incremented. These releases happen infrequently—version 3.0 was released 8 years after 2.0. According to Guido van Rossum, a version 4.0
is very unlikely to ever happen.[179]

Major or "feature" releases are largely compatible with the previous version but introduce new features. The second part of the version
number is incremented. Starting with Python 3.9, these releases are expected to happen annually.[180][181] Each major version is supported by
bug fixes for several years after its release.[182]

Bugfix releases,[183] which introduce no new features, occur about every 3 months and are made when a sufficient number of bugs have been
fixed upstream since the last release. Security vulnerabilities are also patched in these releases. The third and final part of the version
number is incremented.[183]

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.[184]

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[185] need to be modified,[186] and 3.10 added pattern matching to the language.[187]

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.[188]
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;[189] for example, the metasyntactic variables often used in
Python literature are spam and eggs instead of the traditional foo and bar.[189][190] The official Python documentation also contains various
references to Monty Python routines.[191][192] Users of Python are sometimes referred to as "Pythonistas".[193]

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 Simple DirectMedia Layer 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 as of December 2022 it was the most popular language (ahead of C, C++, and Java).[39] 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 as of 2020[194]).

Large organizations that use Python include Wikipedia, Google,[195] Yahoo!,[196] CERN,[197] NASA,[198] Facebook,[199] Amazon, Instagram,[200]
Spotify,[201] and some smaller entities like Industrial Light & Magic[202] and ITA.[203] The social news networking site Reddit was written mostly
in Python.[204] Organizations that partially use Python include Discord[205] and Baidu.[206]

Uses

Python Powered

Python can serve as a scripting language for web applications, e.g. via mod_wsgi for the Apache webserver.[207] 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,[208][209] 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.[210] OpenCV has Python bindings with a rich set of features for computer vision and image processing.[211]

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.[212][213][214][215][216] As a scripting language with a modular architecture, simple syntax,
and rich text processing tools, Python is often used for natural language processing.[217]

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 their data structures. Typical applications of this combination include natural language
processing, visual query answering, geospatial reasoning, and handling of semantic web data.[218][219] 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.[220]

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

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,[223] Inkscape, Scribus and Paint Shop
Pro,[224] 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.[225] It has also been used in several video
games,[226][227] and has been adopted as first of the three available programming languages in Google App Engine, the other two being Java
and Go.[228]

Many operating systems include Python as a standard component. It ships with most Linux distributions,[229] 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.[230][231]

Most of the Sugar software for the One Laptop per Child XO, developed at Sugar Labs as of 2008, is written in Python.[232] 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[233] since Version 4.0 from 7
February 2013.

Languages influenced by Python

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

Boo uses indentation, a similar syntax, and a similar object model.[234]

Cobra uses indentation and a similar syntax, and its Acknowledgements document lists Python first among languages that influenced it.[235]

CoffeeScript, a programming language that cross-compiles to JavaScript, has Python-inspired syntax.

ECMAScript–JavaScript borrowed iterators and generators from Python.[236]

GDScript, a scripting language very similar to Python, built-in to the Godot game engine.[237]

Go is designed for the "speed of working in a dynamic language like Python"[238] and shares the same syntax for slicing arrays.

Groovy was motivated by the desire to bring the Python design philosophy to Java.[239]

Julia was designed to be "as usable for general programming as Python".[27]

Mojo is a non-strict[28][240] superset of Python (e.g. still missing classes, and adding e.g. struct).[241]

Nim uses indentation and similar syntax.[242]

Ruby's creator, Yukihiro Matsumoto, has said: "I wanted a scripting language that was more powerful than Perl, and more object-oriented than
Python. That's why I decided to design my own language."[243]

Swift, a programming language developed by Apple, has some Python-inspired syntax.[244]

Kotlin blends Python and Java features, minimizing boilerplate code for enhanced developer efficiency.[245]

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,[246] Erlang,[247] and Swift.[248]

See also

Python syntax and semantics Computer programming


portal
pip (package manager) Free and open-source
software portal
List of programming languages

History of programming languages

Comparison of programming languages

References

1. "General Python FAQ – Python 3 documentation" (https://docs.py 2. "Python 0.9.1 part 01/21" (https://www.tuhs.org/Usenet/alt.sourc
thon.org/3/faq/general.html#what-is-python) . docs.python.org. es/1991-February/001749.html) . alt.sources archives. Archived
Retrieved 7 July 2024. (https://web.archive.org/web/20210811171015/https://www.tuh
s.org/Usenet/alt.sources/1991-February/001749.html) from
the original on 11 August 2021. Retrieved 11 August 2021.
3. "Why is Python a dynamic language and also a strongly typed 12. "Why was Python created in the first place?" (https://docs.python.
language" (https://wiki.python.org/moin/Why%20is%20Python%2 org/faq/general.html#why-was-python-created-in-the-first-plac
0a%20dynamic%20language%20and%20also%20a%20strongly% e) . General Python FAQ. Python Software Foundation. Archived
20typed%20language) . Python Wiki. Archived (https://web.archi (https://web.archive.org/web/20121024164224/http://docs.pyth
ve.org/web/20210314173706/https://wiki.python.org/moin/Wh on.org/faq/general.html#why-was-python-created-in-the-first-pla
y%20is%20Python%20a%20dynamic%20language%20and%20als ce) from the original on 24 October 2012. Retrieved 22 March
o%20a%20strongly%20typed%20language) from the original on 2007. "I had extensive experience with implementing an
14 March 2021. Retrieved 27 January 2021. interpreted language in the ABC group at CWI, and from working
with this group I had learned a lot about language design. This is
4. "PEP 483 – The Theory of Type Hints" (https://www.python.org/d
the origin of many Python features, including the use of
ev/peps/pep-0483/) . Python.org. Archived (https://web.archive.
indentation for statement grouping and the inclusion of very high-
org/web/20200614153558/https://www.python.org/dev/peps/pe
level data types (although the details are all different in Python)."
p-0483/) from the original on 14 June 2020. Retrieved 14 June
2018. 13. "Ada 83 Reference Manual (raise statement)" (http://archive.adai
c.com/standards/83lrm/html/lrm-11-03.html#11.3) . Archived
5. "PEP 11 – CPython platform support | peps.python.org" (https://p
(https://web.archive.org/web/20191022155758/http://archive.ad
eps.python.org/pep-0011/) . Python Enhancement Proposals
aic.com/standards/83lrm/html/lrm-11-03.html#11.3) from the
(PEPs). Retrieved 22 April 2024.
original on 22 October 2019. Retrieved 7 January 2020.
6. "PEP 738 – Adding Android as a supported platform |
14. Kuchling, Andrew M. (22 December 2006). "Interview with Guido
peps.python.org" (https://peps.python.org/pep-0738/) . Python
van Rossum (July 1998)" (https://web.archive.org/web/2007050
Enhancement Proposals (PEPs). Retrieved 19 May 2024.
1105422/http://www.amk.ca/python/writing/gvr-interview) .
7. "Download Python for Other Platforms" (https://www.python.org/ amk.ca. Archived from the original (http://www.amk.ca/python/w
download/other/) . Python.org. Archived (https://web.archive.or riting/gvr-interview) on 1 May 2007. Retrieved 12 March 2012.
g/web/20201127015815/https://www.python.org/download/oth "I'd spent a summer at DEC's Systems Research Center, which
er/) from the original on 27 November 2020. Retrieved introduced me to Modula-2+; the Modula-3 final report was being
18 August 2023. written there at about the same time. What I learned there later
8. "test – Regression tests package for Python – Python 3.7.13 showed up in Python's exception handling, modules, and the fact
documentation" (https://docs.python.org/3.7/library/test.html?hi that methods explicitly contain 'self' in their parameter list. String
ghlight=android#test.support.is_android) . docs.python.org. slicing came from Algol-68 and Icon."
Archived (https://web.archive.org/web/20220517151240/https:// 15. "itertools – Functions creating iterators for efficient looping –
docs.python.org/3.7/library/test.html?highlight=android#test.sup Python 3.7.1 documentation" (https://docs.python.org/3/library/it
port.is_android) from the original on 17 May 2022. Retrieved ertools.html) . docs.python.org. Archived (https://web.archive.or
17 May 2022. g/web/20200614153629/https://docs.python.org/3/library/iterto
9. "platform – Access to underlying platform's identifying data – ols.html) from the original on 14 June 2020. Retrieved
Python 3.10.4 documentation" (https://docs.python.org/3/library/ 22 November 2016. "This module implements a number of
platform.html?highlight=android) . docs.python.org. Archived (ht iterator building blocks inspired by constructs from APL, Haskell,
tps://web.archive.org/web/20220517150826/https://docs.pytho and SML."
n.org/3/library/platform.html?highlight=android) from the 16. van Rossum, Guido (1993). "An Introduction to Python for UNIX/C
original on 17 May 2022. Retrieved 17 May 2022. Programmers". Proceedings of the NLUUG Najaarsconferentie
10. Holth, Moore (30 March 2014). "PEP 0441 – Improving Python (Dutch UNIX Users Group). CiteSeerX 10.1.1.38.2023 (https://cite

ZIP Application Support" (https://www.python.org/dev/peps/pep- seerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.38.2023) .


0441/) . Archived (https://web.archive.org/web/201812261411 "even though the design of C is far from ideal, its influence on
17/https://www.python.org/dev/peps/pep-0441/%20) from the Python is considerable."
original on 26 December 2018. Retrieved 12 November 2015. 17. "Classes" (https://docs.python.org/tutorial/classes.html) . The
11. "Starlark Language" (https://docs.bazel.build/versions/master/sk Python Tutorial. Python Software Foundation. Archived (https://w

ylark/language.html) . Archived (https://web.archive.org/web/2 eb.archive.org/web/20121023030209/http://docs.python.org/tut


0200615140534/https://docs.bazel.build/versions/master/skylar orial/classes.html) from the original on 23 October 2012.
k/language.html) from the original on 15 June 2020. Retrieved Retrieved 20 February 2012. "It is a mixture of the class
25 May 2019. mechanisms found in C++ and Modula-3"

18. Lundh, Fredrik. "Call By Object" (http://effbot.org/zone/call-by-obj


ect.htm) . effbot.org. Archived (https://web.archive.org/web/201
91123043655/http://effbot.org/zone/call-by-object.htm) from
the original on 23 November 2019. Retrieved 21 November 2017.
"replace "CLU" with "Python", "record" with "instance", and
"procedure" with "function or method", and you get a pretty
accurate description of Python's object model."
19. Simionato, Michele. "The Python 2.3 Method Resolution Order" (h 27. "Why We Created Julia" (https://julialang.org/blog/2012/02/why-
ttps://www.python.org/download/releases/2.3/mro/) . Python we-created-julia) . Julia website. February 2012. Archived (http
Software Foundation. Archived (https://web.archive.org/web/202 s://web.archive.org/web/20200502144010/https://julialang.org/
00820231854/https://www.python.org/download/releases/2.3/ blog/2012/02/why-we-created-julia/) from the original on 2
mro/) from the original on 20 August 2020. Retrieved 29 July May 2020. Retrieved 5 June 2014. "We want something as usable
2014. "The C3 method itself has nothing to do with Python, since for general programming as Python [...]"
it was invented by people working on Dylan and it is described in
28. Krill, Paul (4 May 2023). "Mojo language marries Python and
a paper intended for lispers"
MLIR for AI development" (https://www.infoworld.com/article/36
20. Kuchling, A. M. "Functional Programming HOWTO" (https://docs. 95588/mojo-language-marries-python-and-mlir-for-ai-developme
python.org/howto/functional.html) . Python v2.7.2 nt.html) . InfoWorld. Archived (https://web.archive.org/web/202
documentation. Python Software Foundation. Archived (https://w 30505064554/https://www.infoworld.com/article/3695588/mojo
eb.archive.org/web/20121024163217/http://docs.python.org/ho -language-marries-python-and-mlir-for-ai-development.html)
wto/functional.html) from the original on 24 October 2012. from the original on 5 May 2023. Retrieved 5 May 2023.
Retrieved 9 February 2012. "List comprehensions and generator
29. Ring Team (4 December 2017). "Ring and other languages" (htt
expressions [...] are a concise notation for such operations,
p://ring-lang.sourceforge.net/doc1.6/introduction.html#ring-and-
borrowed from the functional programming language Haskell."
other-languages) . ring-lang.net. ring-lang. Archived (https://web.
21. Schemenauer, Neil; Peters, Tim; Hetland, Magnus Lie (18 May archive.org/web/20181225175312/http://ring-lang.sourceforge.n
2001). "PEP 255 – Simple Generators" (https://www.python.org/d et/doc1.6/introduction.html#ring-and-other-languages) from
ev/peps/pep-0255/) . Python Enhancement Proposals. Python the original on 25 December 2018. Retrieved 4 December 2017.
Software Foundation. Archived (https://web.archive.org/web/202
30. Bini, Ola (2007). Practical JRuby on Rails Web 2.0 Projects:
00605012926/https://www.python.org/dev/peps/pep-0255/)
bringing Ruby on Rails to the Java platform (https://archive.org/de
from the original on 5 June 2020. Retrieved 9 February 2012.
tails/practicaljrubyon0000bini/page/3) . Berkeley: APress. p. 3
22. "More Control Flow Tools" (https://docs.python.org/3.2/tutorial/c (https://archive.org/details/practicaljrubyon0000bini/page/3) .
ontrolflow.html) . Python 3 documentation. Python Software ISBN 978-1-59059-881-8.
Foundation. Archived (https://web.archive.org/web/2016060408
31. Lattner, Chris (3 June 2014). "Chris Lattner's Homepage" (http://n
0843/https://docs.python.org/3.2/tutorial/controlflow.html)
ondot.org/sabre/) . Chris Lattner. Archived (https://web.archive.
from the original on 4 June 2016. Retrieved 24 July 2015. "By
org/web/20181225175312/http://nondot.org/sabre/) from the
popular demand, a few features commonly found in functional
original on 25 December 2018. Retrieved 3 June 2014. "The Swift
programming languages like Lisp have been added to Python.
language is the product of tireless effort from a team of
With the lambda keyword, small anonymous functions can be
language experts, documentation gurus, compiler optimization
created."
ninjas, and an incredibly important internal dogfooding group
23. "re – Regular expression operations – Python 3.10.6 who provided feedback to help refine and battle-test ideas. Of
documentation" (https://docs.python.org/3/library/re.html) . course, it also greatly benefited from the experiences hard-won
docs.python.org. Archived (https://web.archive.org/web/2018071 by many other languages in the field, drawing ideas from
8132241/https://docs.python.org/3/library/re.html) from the Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too
original on 18 July 2018. Retrieved 6 September 2022. "This many others to list."
module provides regular expression matching operations similar
32. Kuhlman, Dave. "A Python Book: Beginning Python, Advanced
to those found in Perl."
Python, and Python Exercises" (https://web.archive.org/web/201
24. "CoffeeScript" (https://coffeescript.org/) . coffeescript.org. 20623165941/http://cutter.rexx.com/~dkuhlman/python_book_0
Archived (https://web.archive.org/web/20200612100004/http://c 1.html) . Section 1.1. Archived from the original (https://www.da
offeescript.org/) from the original on 12 June 2020. Retrieved vekuhlman.org/python_book_01.pdf) (PDF) on 23 June 2012.
3 July 2018.
33. "About Python" (https://www.python.org/about) . Python
25. "Perl and Python influences in JavaScript" (http://www.2ality.co Software Foundation. Archived (https://web.archive.org/web/201
m/2013/02/javascript-influences.html) . www.2ality.com. 24 20420010049/http://www.python.org/about/) from the original
February 2013. Archived (https://web.archive.org/web/20181226 on 20 April 2012. Retrieved 24 April 2012., second section "Fans
141121/http://2ality.com/2013/02/javascript-influences.html%0 of Python use the phrase "batteries included" to describe the
A) from the original on 26 December 2018. Retrieved 15 May standard library, which covers everything from asynchronous
2015. processing to zip files."

26. Rauschmayer, Axel. "Chapter 3: The Nature of JavaScript; 34. "PEP 206 – Python Advanced Library" (https://www.python.org/d
Influences" (http://speakingjs.com/es5/ch03.html) . O'Reilly, ev/peps/pep-0206/) . Python.org. Archived (https://web.archive.
Speaking JavaScript. Archived (https://web.archive.org/web/2018 org/web/20210505003659/https://www.python.org/dev/peps/pe
1226141123/http://speakingjs.com/es5/ch03.html%0A) from p-0206/) from the original on 5 May 2021. Retrieved 11 October
the original on 26 December 2018. Retrieved 15 May 2015. 2021.
35. Rossum, Guido Van (20 January 2009). "The History of Python: A 44. Fairchild, Carlie (12 July 2018). "Guido van Rossum Stepping
Brief Timeline of Python" (https://python-history.blogspot.com/2 Down from Role as Python's Benevolent Dictator For Life" (http
009/01/brief-timeline-of-python.html) . The History of Python. s://www.linuxjournal.com/content/guido-van-rossum-stepping-d
Archived (https://web.archive.org/web/20200605032200/https:// own-role-pythons-benevolent-dictator-life) . Linux Journal.
python-history.blogspot.com/2009/01/brief-timeline-of-python.ht Archived (https://web.archive.org/web/20180713192427/https://
ml) from the original on 5 June 2020. Retrieved 5 March 2021. www.linuxjournal.com/content/guido-van-rossum-stepping-down
-role-pythons-benevolent-dictator-life) from the original on 13
36. Peterson, Benjamin (20 April 2020). "Python 2.7.18, the last
July 2018. Retrieved 13 July 2018.
release of Python 2" (https://pythoninsider.blogspot.com/2020/0
4/python-2718-last-release-of-python-2.html) . Python Insider. 45. "PEP 8100" (https://www.python.org/dev/peps/pep-8100/) .
Archived (https://web.archive.org/web/20200426204118/https:// Python Software Foundation. Archived (https://web.archive.org/
pythoninsider.blogspot.com/2020/04/python-2718-last-release-o web/20200604235027/https://www.python.org/dev/peps/pep-8
f-python-2.html) from the original on 26 April 2020. Retrieved 100/) from the original on 4 June 2020. Retrieved 4 May 2019.
27 April 2020.
46. "PEP 13 – Python Language Governance" (https://www.python.or
37. "Stack Overflow Developer Survey 2022" (https://survey.stackover g/dev/peps/pep-0013/) . Python.org. Archived (https://web.arch
flow.co/2022/) . Stack Overflow. Archived (https://web.archive.o ive.org/web/20210527000035/https://www.python.org/dev/pep
rg/web/20220627175307/https://survey.stackoverflow.co/202 s/pep-0013/) from the original on 27 May 2021. Retrieved
2/) from the original on 27 June 2022. Retrieved 12 August 25 August 2021.
2022.
47. Briggs, Jason R.; Lipovača, Miran (2013). Python for kids: a playful
38. "The State of Developer Ecosystem in 2020 Infographic" (https:// introduction to programming. San Francisco, Calif: No Starch
www.jetbrains.com/lp/devecosystem-2020/) . JetBrains: Press. ISBN 978-1-59327-407-8.
Developer Tools for Professionals and Teams. Archived (https://w
48. Kuchling, A. M.; Zadka, Moshe (16 October 2000). "What's New in
eb.archive.org/web/20210301062411/https://www.jetbrains.co
Python 2.0" (https://docs.python.org/whatsnew/2.0.html) .
m/lp/devecosystem-2020/) from the original on 1 March 2021.
Python Software Foundation. Archived (https://web.archive.org/
Retrieved 5 March 2021.
web/20121023112045/http://docs.python.org/whatsnew/2.0.ht
39. "TIOBE Index" (https://www.tiobe.com/tiobe-index/) . TIOBE. ml) from the original on 23 October 2012. Retrieved
Archived (https://web.archive.org/web/20180225101948/https:// 11 February 2012.
www.tiobe.com/tiobe-index/) from the original on 25 February
49. "PEP 373 – Python 2.7 Release Schedule" (https://legacy.python.
2018. Retrieved 3 January 2023. "The TIOBE Programming
org/dev/peps/pep-0373/) . python.org. Archived (https://web.ar
Community index is an indicator of the popularity of
chive.org/web/20200519075520/https://legacy.python.org/dev/
programming languages" Updated as required.
peps/pep-0373/) from the original on 19 May 2020. Retrieved
40. "PYPL PopularitY of Programming Language index" (https://pypl. 9 January 2017.
github.io/PYPL.html) . pypl.github.io. Archived (https://web.archi
50. "PEP 466 – Network Security Enhancements for Python 2.7.x" (ht
ve.org/web/20170314232030/https://pypl.github.io/PYPL.htm
tps://www.python.org/dev/peps/pep-0466/) . python.org.
l) from the original on 14 March 2017. Retrieved 26 March
Archived (https://web.archive.org/web/20200604232833/https://
2021.
www.python.org/dev/peps/pep-0466/) from the original on 4
41. Venners, Bill (13 January 2003). "The Making of Python" (http://w June 2020. Retrieved 9 January 2017.
ww.artima.com/intv/pythonP.html) . Artima Developer. Artima.
51. "Sunsetting Python 2" (https://www.python.org/doc/sunset-pytho
Archived (https://web.archive.org/web/20160901183332/http://
n-2/) . Python.org. Archived (https://web.archive.org/web/20200
www.artima.com/intv/pythonP.html) from the original on 1
112080903/https://www.python.org/doc/sunset-python-2/)
September 2016. Retrieved 22 March 2007.
from the original on 12 January 2020. Retrieved 22 September
42. van Rossum, Guido (29 August 2000). "SETL (was: Lukewarm 2019.
about range literals)" (https://mail.python.org/pipermail/python-d
52. "PEP 373 – Python 2.7 Release Schedule" (https://www.python.or
ev/2000-August/008881.html) . Python-Dev (Mailing list).
g/dev/peps/pep-0373/) . Python.org. Archived (https://web.arch
Archived (https://web.archive.org/web/20180714064019/https://
ive.org/web/20200113033257/https://www.python.org/dev/pep
mail.python.org/pipermail/python-dev/2000-August/008881.htm
s/pep-0373/) from the original on 13 January 2020. Retrieved
l) from the original on 14 July 2018. Retrieved 13 March 2011.
22 September 2019.
43. van Rossum, Guido (20 January 2009). "A Brief Timeline of
53. mattip (25 December 2023). "PyPy v7.3.14 release" (https://www.
Python" (https://python-history.blogspot.com/2009/01/brief-time
pypy.org/posts/2023/12/pypy-v7314-release.html) . PyPy.
line-of-python.html) . The History of Python. Archived (https://we
Archived (https://web.archive.org/web/20240105132820/https://
b.archive.org/web/20200605032200/https://python-history.blogs
www.pypy.org/posts/2023/12/pypy-v7314-release.html) from
pot.com/2009/01/brief-timeline-of-python.html) from the
the original on 5 January 2024. Retrieved 5 January 2024.
original on 5 June 2020. Retrieved 20 January 2009.
54. Langa, Łukasz (17 May 2022). "Python 3.9.13 is now available" (h 68. "PEP 711: PyBI: a standard format for distributing Python
ttps://pythoninsider.blogspot.com/2022/05/python-3913-is-now- Binaries" (https://discuss.python.org/t/pep-711-pybi-a-standard-f
available.html) . Python Insider. Archived (https://web.archive.or ormat-for-distributing-python-binaries/25547) . Discussions on
g/web/20220517173546/https://pythoninsider.blogspot.com/20 Python.org. 7 April 2023. Retrieved 20 November 2024.
22/05/python-3913-is-now-available.html) from the original on
69. "PEP 686 – Make UTF-8 mode default | peps.python.org" (https://
17 May 2022. Retrieved 21 May 2022.
peps.python.org/pep-0686/) . Python Enhancement Proposals
55. "Status of Python versions" (https://devguide.python.org/version (PEPs). Retrieved 20 November 2024.
s/) . Python Developer's Guide. Retrieved 7 October 2024.
70. The Cain Gang Ltd. "Python Metaclasses: Who? Why? When?" (ht
56. "Python" (https://endoflife.date/python) . endoflife.date. 8 tps://web.archive.org/web/20090530030205/http://www.python.
October 2024. Retrieved 20 November 2024. org/community/pycon/dc2004/papers/24/metaclasses-pycon.p
df) (PDF). Archived from the original (https://www.python.org/c
57. "CVE-2021-3177" (https://access.redhat.com/security/cve/cve-2
ommunity/pycon/dc2004/papers/24/metaclasses-pycon.pdf)
021-3177) . Red Hat Customer Portal. Archived (https://web.arch
(PDF) on 30 May 2009. Retrieved 27 June 2009.
ive.org/web/20210306183700/https://access.redhat.com/securi
ty/cve/cve-2021-3177) from the original on 6 March 2021. 71. "3.3. Special method names" (https://docs.python.org/3.0/refere
Retrieved 26 February 2021. nce/datamodel.html#special-method-names) . The Python
Language Reference. Python Software Foundation. Archived (http
58. "CVE-2021-3177" (https://cve.mitre.org/cgi-bin/cvename.cgi?na
s://web.archive.org/web/20181215123146/https://docs.python.
me=CVE-2021-3177) . CVE. Archived (https://web.archive.org/w
org/3.0/reference/datamodel.html#special-method-names)
eb/20210227192918/https://cve.mitre.org/cgi-bin/cvename.cgi?
from the original on 15 December 2018. Retrieved 27 June 2009.
name=CVE-2021-3177) from the original on 27 February 2021.
Retrieved 26 February 2021. 72. "PyDBC: method preconditions, method postconditions and class
invariants for Python" (http://www.nongnu.org/pydbc/) .
59. "CVE-2021-23336" (https://cve.mitre.org/cgi-bin/cvename.cgi?na
Archived (https://web.archive.org/web/20191123231931/http://
me=CVE-2021-23336) . CVE. Archived (https://web.archive.org/
www.nongnu.org/pydbc/) from the original on 23 November
web/20210224160700/https://cve.mitre.org/cgi-bin/cvename.cg
2019. Retrieved 24 September 2011.
i?name=CVE-2021-23336) from the original on 24 February
2021. Retrieved 26 February 2021. 73. "Contracts for Python" (http://www.wayforward.net/pycontrac
t/) . Archived (https://web.archive.org/web/20200615173404/h
60. "Built-in Types" (https://docs.python.org/3/library/stdtypes.html#
ttp://www.wayforward.net/pycontract/) from the original on 15
types-union) .
June 2020. Retrieved 24 September 2011.
61. corbet (24 October 2022). "Python 3.11 released [LWN.net]" (http
74. "PyDatalog" (https://sites.google.com/site/pydatalog/) .
s://lwn.net/Articles/912216/) . lwn.net. Retrieved 15 November
Archived (https://web.archive.org/web/20200613160231/https://
2022.
sites.google.com/site/pydatalog/) from the original on 13 June
62. "What's New In Python 3.13" (https://docs.python.org/3.13/whats 2020. Retrieved 22 July 2012.
new/3.13.html#experimental-jit-compiler) . Python
75. "Glue It All Together With Python" (https://www.python.org/doc/e
documentation. Retrieved 30 April 2024.
ssays/omg-darpa-mcc-position/) . Python.org. Retrieved
63. "PEP 667 – Consistent views of namespaces | peps.python.org" 30 September 2024.
(https://peps.python.org/pep-0667/) . Python Enhancement
76. "Extending and Embedding the Python Interpreter: Reference
Proposals (PEPs). Retrieved 7 October 2024.
Counts" (https://docs.python.org/extending/extending.html#refe
64. Wouters, Thomas (9 April 2024). "Python Insider: Python 3.12.3 rence-counts) . Docs.python.org. Archived (https://web.archive.
and 3.13.0a6 released" (https://pythoninsider.blogspot.com/202 org/web/20121018063230/http://docs.python.org/extending/ext
4/04/python-3123-and-3130a6-released.html) . Python Insider. ending.html#reference-counts) from the original on 18 October
Retrieved 29 April 2024. 2012. Retrieved 5 June 2020. "Since Python makes heavy use of
65. "PEP 594 – Removing dead batteries from the standard library" (h malloc() and free() , it needs a strategy to avoid memory
ttps://peps.python.org/pep-0594/) . Python Enhancement leaks as well as the use of freed memory. The chosen method is
Proposals. Python Softtware Foundation. 20 May 2019. called reference counting."

66. Hugo (15 October 2024). "Python Insider: Python 3.14.0 alpha 1 77. Hettinger, Raymond (30 January 2002). "PEP 289 – Generator
is now available" (https://pythoninsider.blogspot.com/2024/10/p Expressions" (https://www.python.org/dev/peps/pep-0289/) .
ython-3140-alpha-1-is-now-available.html) . Python Insider. Python Enhancement Proposals. Python Software Foundation.
Retrieved 16 October 2024. Archived (https://web.archive.org/web/20200614153717/https://
www.python.org/dev/peps/pep-0289/) from the original on 14
67. "PEP 749 – Implementing PEP 649 | peps.python.org" (https://pe
June 2020. Retrieved 19 February 2012.
ps.python.org/pep-0749/) . Python Enhancement Proposals
(PEPs). Retrieved 20 November 2024.
78. "6.5 itertools – Functions creating iterators for efficient looping" 87. "Transpiling Python to Julia using PyJL" (https://web.ist.utl.pt/ant
(https://docs.python.org/3/library/itertools.html) . onio.menezes.leitao/ADA/documents/publications_docs/2022_T
Docs.python.org. Archived (https://web.archive.org/web/202006 ranspilingPythonToJuliaUsingPyJL.pdf) (PDF). Archived (http
14153629/https://docs.python.org/3/library/itertools.html) s://web.archive.org/web/20231119071525/https://web.ist.utl.pt/
from the original on 14 June 2020. Retrieved 22 November 2016. antonio.menezes.leitao/ADA/documents/publications_docs/202
2_TranspilingPythonToJuliaUsingPyJL.pdf) (PDF) from the
79. Peters, Tim (19 August 2004). "PEP 20 – The Zen of Python" (http
original on 19 November 2023. Retrieved 20 September 2023.
s://www.python.org/dev/peps/pep-0020/) . Python
"After manually modifying one line of code by specifying the
Enhancement Proposals. Python Software Foundation. Archived
necessary type information, we obtained a speedup of 52.6×,
(https://web.archive.org/web/20181226141127/https://www.pyt
making the translated Julia code 19.5× faster than the original
hon.org/dev/peps/pep-0020/) from the original on 26
Python code."
December 2018. Retrieved 24 November 2008.
88. "Why is it called Python?" (https://docs.python.org/3/faq/general.
80. Lutz, Mark (January 2022). "Python Changes 2014+" (https://lear
html#why-is-it-called-python) . General Python FAQ.
ning-python.com/python-changes-2014-plus.html) . Learning
Docs.python.org. Archived (https://web.archive.org/web/201210
Python. Archived (https://web.archive.org/web/2024031507593
24164224/http://docs.python.org/faq/general.html#why-is-it-call
5/https://learning-python.com/python-changes-2014-plus.html)
ed-python) from the original on 24 October 2012. Retrieved
from the original on 15 March 2024. Retrieved 25 February 2024.
3 January 2023.
81. "Confusion regarding a rule in The Zen of Python" (https://discus
89. "15 Ways Python Is a Powerful Force on the Web" (https://web.ar
s.python.org/t/confusion-regarding-a-rule-in-the-zen-of-python/1
chive.org/web/20190511065650/http://insidetech.monster.com/
5927) . Python Help - Discussions on Python.org. 3 May 2022.
training/articles/8114-15-ways-python-is-a-powerful-force-on-the-
Archived (https://web.archive.org/web/20240225221142/https://
web) . Archived from the original (https://insidetech.monster.co
discuss.python.org/t/confusion-regarding-a-rule-in-the-zen-of-pyt
m/training/articles/8114-15-ways-python-is-a-powerful-force-on-t
hon/15927) from the original on 25 February 2024. Retrieved
he-web) on 11 May 2019. Retrieved 3 July 2018.
25 February 2024.
90. "pprint – Data pretty printer – Python 3.11.0 documentation" (http
82. Ambi, Chetan (4 July 2021). "The Most Controversial Python
s://docs.python.org/3/library/pprint.html) . docs.python.org.
Walrus Operator" (https://pythonsimplified.com/the-most-controv
Archived (https://web.archive.org/web/20210122224848/https://
ersial-python-walrus-operator/) . Python Simplified. Archived (htt
docs.python.org/3/library/pprint.html) from the original on 22
ps://web.archive.org/web/20230827154931/https://pythonsimpl
January 2021. Retrieved 5 November 2022. "stuff=['spam', 'eggs',
ified.com/the-most-controversial-python-walrus-operator/)
'lumberjack', 'knights', 'ni']"
from the original on 27 August 2023. Retrieved 5 February 2024.
91. "Code Style – The Hitchhiker's Guide to Python" (https://docs.pyt
83. Grifski, Jeremy (24 May 2020). "The Controversy Behind The
hon-guide.org/writing/style) . docs.python-guide.org. Archived (h
Walrus Operator in Python" (https://therenegadecoder.com/code/
ttps://web.archive.org/web/20210127154341/https://docs.pytho
the-controversy-behind-the-walrus-operator-in-python/) . The
n-guide.org/writing/style/) from the original on 27 January
Renegade Coder. Archived (https://web.archive.org/web/2023122
2021. Retrieved 20 January 2021.
8135749/https://therenegadecoder.com/code/the-controversy-b
ehind-the-walrus-operator-in-python/) from the original on 28 92. "Is Python a good language for beginning programmers?" (http
December 2023. Retrieved 25 February 2024. s://docs.python.org/faq/general.html#is-python-a-good-language
-for-beginning-programmers) . General Python FAQ. Python
84. Bader, Dan. "Python String Formatting Best Practices" (https://rea
Software Foundation. Archived (https://web.archive.org/web/201
lpython.com/python-string-formatting/) . Real Python. Archived
21024164224/http://docs.python.org/faq/general.html#is-pytho
(https://web.archive.org/web/20240218083506/https://realpytho
n-a-good-language-for-beginning-programmers) from the
n.com/python-string-formatting/) from the original on 18
original on 24 October 2012. Retrieved 21 March 2007.
February 2024. Retrieved 25 February 2024.
93. "Myths about indentation in Python" (https://web.archive.org/we
85. Martelli, Alex; Ravenscroft, Anna; Ascher, David (2005). Python
b/20180218162410/http://www.secnetix.de/~olli/Python/block_i
Cookbook, 2nd Edition (http://shop.oreilly.com/product/9780596
ndentation.hawk) . Secnetix.de. Archived from the original (htt
007973.do) . O'Reilly Media. p. 230. ISBN 978-0-596-00797-3.
p://www.secnetix.de/~olli/Python/block_indentation.hawk) on
Archived (https://web.archive.org/web/20200223171254/http://s
18 February 2018. Retrieved 19 April 2011.
hop.oreilly.com/product/9780596007973.do) from the original
on 23 February 2020. Retrieved 14 November 2015. 94. Guttag, John V. (12 August 2016). Introduction to Computation
and Programming Using Python: With Application to Understanding
86. "Python Culture" (https://web.archive.org/web/2014013002190
Data. MIT Press. ISBN 978-0-262-52962-4.
2/http://ebeab.com/2014/01/21/python-culture/) . ebeab. 21
January 2014. Archived from the original (http://ebeab.com/201 95. "PEP 8 – Style Guide for Python Code" (https://www.python.org/d
4/01/21/python-culture/) on 30 January 2014. ev/peps/pep-0008/) . Python.org. Archived (https://web.archive.
org/web/20190417223549/https://www.python.org/dev/peps/pe
p-0008/) from the original on 17 April 2019. Retrieved 26 March
2019.
96. "8. Errors and Exceptions – Python 3.12.0a0 documentation" (htt 106. van Rossum, Guido; Hettinger, Raymond (7 February 2003). "PEP
ps://docs.python.org/3.11/tutorial/errors.html) . 308 – Conditional Expressions" (https://www.python.org/dev/pep
docs.python.org. Archived (https://web.archive.org/web/2022050 s/pep-0308/) . Python Enhancement Proposals. Python Software
9145745/https://docs.python.org/3.11/tutorial/errors.html) Foundation. Archived (https://web.archive.org/web/2016031311
from the original on 9 May 2022. Retrieved 9 May 2022. 3147/https://www.python.org/dev/peps/pep-0308/) from the
original on 13 March 2016. Retrieved 13 July 2011.
97. "Highlights: Python 2.5" (https://www.python.org/download/relea
ses/2.5/highlights/) . Python.org. Archived (https://web.archive. 107. "4. Built-in Types – Python 3.6.3rc1 documentation" (https://doc
org/web/20190804120408/https://www.python.org/download/re s.python.org/3/library/stdtypes.html#tuple) . python.org.
leases/2.5/highlights/) from the original on 4 August 2019. Archived (https://web.archive.org/web/20200614194325/https://
Retrieved 20 March 2018. docs.python.org/3/library/stdtypes.html#tuple) from the
original on 14 June 2020. Retrieved 1 October 2017.
98. van Rossum, Guido (22 April 2009). "Tail Recursion Elimination"
(http://neopythonic.blogspot.be/2009/04/tail-recursion-eliminati 108. "5.3. Tuples and Sequences – Python 3.7.1rc2 documentation" (h
on.html) . Neopythonic.blogspot.be. Archived (https://web.archi ttps://docs.python.org/3/tutorial/datastructures.html#tuples-and
ve.org/web/20180519225253/http://neopythonic.blogspot.be/20 -sequences) . python.org. Archived (https://web.archive.org/we
09/04/tail-recursion-elimination.html) from the original on 19 b/20200610050047/https://docs.python.org/3/tutorial/datastruc
May 2018. Retrieved 3 December 2012. tures.html#tuples-and-sequences) from the original on 10 June
2020. Retrieved 17 October 2018.
99. van Rossum, Guido (9 February 2006). "Language Design Is Not
Just Solving Puzzles" (http://www.artima.com/weblogs/viewpos 109. "PEP 498 – Literal String Interpolation" (https://www.python.org/
t.jsp?thread=147358) . Artima forums. Artima. Archived (https:// dev/peps/pep-0498/) . python.org. Archived (https://web.archiv
web.archive.org/web/20200117182525/https://www.artima.co e.org/web/20200615184141/https://www.python.org/dev/peps/
m/weblogs/viewpost.jsp?thread=147358) from the original on pep-0498/) from the original on 15 June 2020. Retrieved
17 January 2020. Retrieved 21 March 2007. 8 March 2017.

100. van Rossum, Guido; Eby, Phillip J. (10 May 2005). "PEP 342 – 110. "Why must 'self' be used explicitly in method definitions and
Coroutines via Enhanced Generators" (https://www.python.org/d calls?" (https://docs.python.org/faq/design.html#why-must-self-
ev/peps/pep-0342/) . Python Enhancement Proposals. Python be-used-explicitly-in-method-definitions-and-calls) . Design and
Software Foundation. Archived (https://web.archive.org/web/202 History FAQ. Python Software Foundation. Archived (https://web.
00529003739/https://www.python.org/dev/peps/pep-0342/) archive.org/web/20121024164243/http://docs.python.org/faq/d
from the original on 29 May 2020. Retrieved 19 February 2012. esign.html#why-must-self-be-used-explicitly-in-method-definition
s-and-calls) from the original on 24 October 2012. Retrieved
101. "PEP 380" (https://www.python.org/dev/peps/pep-0380/) .
19 February 2012.
Python.org. Archived (https://web.archive.org/web/20200604233
821/https://www.python.org/dev/peps/pep-0380/) from the 111. Sweigart, Al (2020). Beyond the Basic Stuff with Python: Best
original on 4 June 2020. Retrieved 3 December 2012. Practices for Writing Clean Code (https://books.google.com/book
s?id=7GUKEAAAQBAJ&pg=PA322) . No Starch Press. p. 322.
102. "division" (https://docs.python.org) . python.org. Archived (http
ISBN 978-1-59327-966-0. Archived (https://web.archive.org/web/
s://web.archive.org/web/20060720033244/http://docs.python.or
20210813194312/https://books.google.com/books?id=7GUKEA
g/) from the original on 20 July 2006. Retrieved 30 July 2014.
AAQBAJ&pg=PA322) from the original on 13 August 2021.
103. "PEP 0465 – A dedicated infix operator for matrix multiplication" Retrieved 7 July 2021.
(https://www.python.org/dev/peps/pep-0465/) . python.org.
112. "The Python Language Reference, section 3.3. New-style and
Archived (https://web.archive.org/web/20200604224255/https://
classic classes, for release 2.7.1" (https://web.archive.org/web/2
www.python.org/dev/peps/pep-0465/) from the original on 4
0121026063834/http://docs.python.org/reference/datamodel.ht
June 2020. Retrieved 1 January 2016.
ml#new-style-and-classic-classes) . Archived from the original
104. "Python 3.5.1 Release and Changelog" (https://www.python.org/d (https://docs.python.org/reference/datamodel.html#new-style-a
ownloads/release/python-351/) . python.org. Archived (https:// nd-classic-classes) on 26 October 2012. Retrieved 12 January
web.archive.org/web/20200514034938/https://www.python.org/ 2011.
downloads/release/python-351/) from the original on 14 May
113. "PEP 484 – Type Hints | peps.python.org" (https://peps.python.or
2020. Retrieved 1 January 2016.
g/pep-0484/) . peps.python.org. Archived (https://web.archive.or
105. "What's New in Python 3.8" (https://docs.python.org/3.8/whatsne g/web/20231127205023/https://peps.python.org/pep-0484/)
w/3.8.html) . Archived (https://web.archive.org/web/202006081 from the original on 27 November 2023. Retrieved 29 November
24345/https://docs.python.org/3.8/whatsnew/3.8.html) from 2023.
the original on 8 June 2020. Retrieved 14 October 2019.
114. "typing — Support for type hints" (https://docs.python.org/3/librar
y/typing.html) . Python documentation. Python Software
Foundation. Archived (https://web.archive.org/web/2020022118
4042/https://docs.python.org/3/library/typing.html) from the
original on 21 February 2020. Retrieved 22 December 2023.
115. "mypy – Optional Static Typing for Python" (http://mypy-lang.or 124. "round" (https://docs.python.org/library/functions.html#round) ,
g/) . Archived (https://web.archive.org/web/20200606192012/h The Python standard library, release 2.7, §2: Built-in functions,
ttp://mypy-lang.org/) from the original on 6 June 2020. archived (https://web.archive.org/web/20121027081602/http://d
Retrieved 28 January 2017. ocs.python.org/library/functions.html#round) from the original
on 27 October 2012, retrieved 14 August 2011
116. "Introduction" (https://mypyc.readthedocs.io/en/latest/introducti
on.html) . mypyc.readthedocs.io. Archived (https://web.archive.o 125. Beazley, David M. (2009). Python Essential Reference (https://arch
rg/web/20231222000457/https://mypyc.readthedocs.io/en/lates ive.org/details/pythonessentialr00beaz_036) (4th ed.).
t/introduction.html) from the original on 22 December 2023. Addison-Wesley Professional. p. 66 (https://archive.org/details/p
Retrieved 22 December 2023. ythonessentialr00beaz_036/page/n90) . ISBN 9780672329784.

117. "15. Floating Point Arithmetic: Issues and Limitations – Python 126. Kernighan, Brian W.; Ritchie, Dennis M. (1988). The C
3.8.3 documentation" (https://docs.python.org/3.8/tutorial/floati Programming Language (2nd ed.). p. 206 (https://archive.org/det
ngpoint.html#representation-error) . docs.python.org. Archived ails/cprogramminglang00bria/page/206) .
(https://web.archive.org/web/20200606113842/https://docs.pyt
127. Batista, Facundo (17 October 2003). "PEP 327 – Decimal Data
hon.org/3.8/tutorial/floatingpoint.html#representation-error)
Type" (https://www.python.org/dev/peps/pep-0327/) . Python
from the original on 6 June 2020. Retrieved 6 June 2020. "Almost
Enhancement Proposals. Python Software Foundation. Archived
all machines today (November 2000) use IEEE-754 floating point
(https://web.archive.org/web/20200604234830/https://www.pyt
arithmetic, and almost all platforms map Python floats to IEEE-
hon.org/dev/peps/pep-0327/) from the original on 4 June
754 "double precision"."
2020. Retrieved 24 November 2008.
118. Zadka, Moshe; van Rossum, Guido (11 March 2001). "PEP 237 –
128. "What's New in Python 2.6" (https://docs.python.org/2.6/whatsne
Unifying Long Integers and Integers" (https://www.python.org/de
w/2.6.html) . Python v2.6.9 documentation. 29 October 2013.
v/peps/pep-0237/) . Python Enhancement Proposals. Python
Archived (https://web.archive.org/web/20191223213856/https://
Software Foundation. Archived (https://web.archive.org/web/202
docs.python.org/2.6/whatsnew/2.6.html) from the original on
00528063237/https://www.python.org/dev/peps/pep-0237/)
23 December 2019. Retrieved 26 September 2015.
from the original on 28 May 2020. Retrieved 24 September 2011.
129. "10 Reasons Python Rocks for Research (And a Few Reasons it
119. "Built-in Types" (https://docs.python.org/3/library/stdtypes.html#
Doesn't) – Hoyt Koepke" (https://web.archive.org/web/20200531
typesseq-range) . Archived (https://web.archive.org/web/20200
211840/https://www.stat.washington.edu/~hoytak/blog/whypyt
614194325/https://docs.python.org/3/library/stdtypes.html#typ
hon.html) . University of Washington Department of Statistics.
esseq-range) from the original on 14 June 2020. Retrieved
Archived from the original (https://www.stat.washington.edu/~h
3 October 2019.
oytak/blog/whypython.html) on 31 May 2020. Retrieved
120. "PEP 465 – A dedicated infix operator for matrix multiplication" (h 3 February 2019.
ttps://legacy.python.org/dev/peps/pep-0465/) . python.org.
130. Shell, Scott (17 June 2014). "An introduction to Python for
Archived (https://web.archive.org/web/20200529200310/https://
scientific computing" (https://engineering.ucsb.edu/~shell/che2
legacy.python.org/dev/peps/pep-0465/) from the original on 29
10d/python.pdf) (PDF). Archived (https://web.archive.org/web/
May 2020. Retrieved 3 July 2018.
20190204014642/https://engineering.ucsb.edu/~shell/che210d/
121. Zadka, Moshe; van Rossum, Guido (11 March 2001). "PEP 238 – python.pdf) (PDF) from the original on 4 February 2019.
Changing the Division Operator" (https://www.python.org/dev/pe Retrieved 3 February 2019.
ps/pep-0238/) . Python Enhancement Proposals. Python
131. Piotrowski, Przemyslaw (July 2006). "Build a Rapid Web
Software Foundation. Archived (https://web.archive.org/web/202
Development Environment for Python Server Pages and Oracle"
00528115550/https://www.python.org/dev/peps/pep-0238/)
(http://www.oracle.com/technetwork/articles/piotrowski-python
from the original on 28 May 2020. Retrieved 23 October 2013.
core-084049.html) . Oracle Technology Network. Oracle.
122. "Why Python's Integer Division Floors" (https://python-history.blo Archived (https://web.archive.org/web/20190402124435/https://
gspot.com/2010/08/why-pythons-integer-division-floors.html) . www.oracle.com/technetwork/articles/piotrowski-pythoncore-08
24 August 2010. Archived (https://web.archive.org/web/2020060 4049.html) from the original on 2 April 2019. Retrieved
5151500/https://python-history.blogspot.com/2010/08/why-pyth 12 March 2012.
ons-integer-division-floors.html) from the original on 5 June
132. Eby, Phillip J. (7 December 2003). "PEP 333 – Python Web Server
2020. Retrieved 25 August 2010.
Gateway Interface v1.0" (https://www.python.org/dev/peps/pep-
123. "round" (https://docs.python.org/py3k/library/functions.html#rou 0333/) . Python Enhancement Proposals. Python Software
nd) , The Python standard library, release 3.2, §2: Built-in Foundation. Archived (https://web.archive.org/web/2020061417
functions, archived (https://web.archive.org/web/201210251418 0344/https://www.python.org/dev/peps/pep-0333/) from the
08/http://docs.python.org/py3k/library/functions.html#round) original on 14 June 2020. Retrieved 19 February 2012.
from the original on 25 October 2012, retrieved 14 August 2011
133. "PyPI" (https://pypi.org/) . PyPI. 17 March 2024. Archived (http
s://web.archive.org/web/20240317112557/https://pypi.org/)
from the original on 17 March 2024.
134. Enthought, Canopy. "Canopy" (https://web.archive.org/web/2017 144. "Download Python for Other Platforms" (https://www.python.org/
0715151703/https://www.enthought.com/products/canopy/) . download/other/) . Python.org. Archived (https://web.archive.or
www.enthought.com. Archived from the original (https://www.ent g/web/20201127015815/https://www.python.org/download/oth
hought.com/products/canopy/) on 15 July 2017. Retrieved er/) from the original on 27 November 2020. Retrieved
20 August 2016. 4 December 2020.

135. "PEP 7 – Style Guide for C Code | peps.python.org" (https://peps. 145. "PyPy compatibility" (https://pypy.org/compat.html) . Pypy.org.
python.org/pep-0007/) . peps.python.org. Archived (https://web. Archived (https://web.archive.org/web/20200606041845/https://
archive.org/web/20220424202827/https://peps.python.org/pep- www.pypy.org/compat.html) from the original on 6 June 2020.
0007/) from the original on 24 April 2022. Retrieved 28 April Retrieved 3 December 2012.
2022.
146. Team, The PyPy (28 December 2019). "Download and Install" (htt
136. "4. Building C and C++ Extensions – Python 3.9.2 documentation" ps://www.pypy.org/download.html) . PyPy. Archived (https://we
(https://docs.python.org/3/extending/building.html) . b.archive.org/web/20220108212951/https://www.pypy.org/dow
docs.python.org. Archived (https://web.archive.org/web/2021030 nload.html) from the original on 8 January 2022. Retrieved
3002519/https://docs.python.org/3/extending/building.html) 8 January 2022.
from the original on 3 March 2021. Retrieved 1 March 2021.
147. "speed comparison between CPython and Pypy" (https://speed.p
137. van Rossum, Guido (5 June 2001). "PEP 7 – Style Guide for C ypy.org/) . Speed.pypy.org. Archived (https://web.archive.org/w
Code" (https://www.python.org/dev/peps/pep-0007/) . Python eb/20210510014902/https://speed.pypy.org/) from the original
Enhancement Proposals. Python Software Foundation. Archived on 10 May 2021. Retrieved 3 December 2012.
(https://web.archive.org/web/20200601203908/https://www.pyt
148. "Codon: Differences with Python" (https://docs.exaloop.io/codo
hon.org/dev/peps/pep-0007/) from the original on 1 June
n/general/differences) . Archived (https://web.archive.org/web/
2020. Retrieved 24 November 2008.
20230525002540/https://docs.exaloop.io/codon/general/differe
138. "CPython byte code" (https://docs.python.org/3/library/dis.html# nces) from the original on 25 May 2023. Retrieved 28 August
python-bytecode-instructions) . Docs.python.org. Archived (http 2023.
s://web.archive.org/web/20200605151542/https://docs.python.
149. Lawson, Loraine (14 March 2023). "MIT-Created Compiler Speeds
org/3/library/dis.html#python-bytecode-instructions) from the
up Python Code" (https://thenewstack.io/mit-created-compiler-sp
original on 5 June 2020. Retrieved 16 February 2016.
eeds-up-python-code/) . The New Stack. Archived (https://web.a
139. "Python 2.5 internals" (http://www.troeger.eu/teaching/pythonvm rchive.org/web/20230406054200/https://thenewstack.io/mit-cre
08.pdf) (PDF). Archived (https://web.archive.org/web/2012080 ated-compiler-speeds-up-python-code/) from the original on 6
6094951/http://www.troeger.eu/teaching/pythonvm08.pdf) April 2023. Retrieved 28 August 2023.
(PDF) from the original on 6 August 2012. Retrieved 19 April
150. "Application-level Stackless features – PyPy 2.0.2
2011.
documentation" (http://doc.pypy.org/en/latest/stackless.html) .
140. "Changelog – Python 3.9.0 documentation" (https://docs.python. Doc.pypy.org. Archived (https://web.archive.org/web/202006042
org/release/3.9.0/whatsnew/changelog.html#changelog) . 31513/https://doc.pypy.org/en/latest/stackless.html) from the
docs.python.org. Archived (https://web.archive.org/web/2021020 original on 4 June 2020. Retrieved 17 July 2013.
7001142/https://docs.python.org/release/3.9.0/whatsnew/chan
151. "Python-for-EV3" (https://education.lego.com/en-us/support/min
gelog.html#changelog) from the original on 7 February 2021.
dstorms-ev3/python-for-ev3) . LEGO Education. Archived (http
Retrieved 8 February 2021.
s://web.archive.org/web/20200607234814/https://education.leg
141. "Download Python" (https://www.python.org/downloads/release/ o.com/en-us/support/mindstorms-ev3/python-for-ev3) from
python-391) . Python.org. Archived (https://web.archive.org/we the original on 7 June 2020. Retrieved 17 April 2019.
b/20201208045225/https://www.python.org/downloads/releas
152. Yegulalp, Serdar (29 October 2020). "Pyston returns from the
e/python-391/) from the original on 8 December 2020.
dead to speed Python" (https://www.infoworld.com/article/3587
Retrieved 13 December 2020.
591/pyston-returns-from-the-dead-to-speed-python.html) .
142. "history [vmspython]" (https://www.vmspython.org/doku.php?id= InfoWorld. Archived (https://web.archive.org/web/202101271132
history) . www.vmspython.org. Archived (https://web.archive.or 33/https://www.infoworld.com/article/3587591/pyston-returns-fr
g/web/20201202194743/https://www.vmspython.org/doku.php? om-the-dead-to-speed-python.html) from the original on 27
id=history) from the original on 2 December 2020. Retrieved January 2021. Retrieved 26 January 2021.
4 December 2020.
153. "cinder: Instagram's performance-oriented fork of CPython" (http
143. "An Interview with Guido van Rossum" (http://www.oreilly.com/pu s://github.com/facebookincubator/cinder) . GitHub. Archived (ht
b/a/oreilly/frank/rossum_1099.html) . Oreilly.com. Archived (htt tps://web.archive.org/web/20210504112500/https://github.co
ps://web.archive.org/web/20140716222652/http://oreilly.com/p m/facebookincubator/cinder) from the original on 4 May 2021.
ub/a/oreilly/frank/rossum_1099.html) from the original on 16 Retrieved 4 May 2021.
July 2014. Retrieved 24 November 2008.
154. Aroca, Rafael (7 August 2021). "Snek Lang: feels like Python on 163. "Nuitka Home | Nuitka Home" (http://nuitka.net/) . nuitka.net.
Arduinos" (https://rafaelaroca.wordpress.com/2021/08/07/snek- Archived (https://web.archive.org/web/20200530211233/https://
lang-feels-like-python-on-arduinos/) . Yet Another Technology nuitka.net/) from the original on 30 May 2020. Retrieved
Blog. Archived (https://web.archive.org/web/20240105001031/h 18 August 2017.
ttps://rafaelaroca.wordpress.com/2021/08/07/snek-lang-feels-li
164. Guelton, Serge; Brunet, Pierrick; Amini, Mehdi; Merlini, Adrien;
ke-python-on-arduinos/) from the original on 5 January 2024.
Corbillon, Xavier; Raynaud, Alan (16 March 2015). "Pythran:
Retrieved 4 January 2024.
enabling static optimization of scientific Python programs" (http
155. Aufranc (CNXSoft), Jean-Luc (16 January 2020). "Snekboard s://doi.org/10.1088%2F1749-4680%2F8%2F1%2F014001) .
Controls LEGO Power Functions with CircuitPython or Snek Computational Science & Discovery. 8 (1). IOP Publishing:
Programming Languages (Crowdfunding) – CNX Software" (http 014001. Bibcode:2015CS&D....8a4001G (https://ui.adsabs.harvar
s://www.cnx-software.com/2020/01/16/snekboard-controls-lego d.edu/abs/2015CS&D....8a4001G) . doi:10.1088/1749-
-power-functions-with-circuitpython-or-snek-programming-langua 4680/8/1/014001 (https://doi.org/10.1088%2F1749-4680%2F8%
ges/) . CNX Software – Embedded Systems News. Archived (http 2F1%2F014001) . ISSN 1749-4699 (https://search.worldcat.org/
s://web.archive.org/web/20240105001031/https://www.cnx-soft issn/1749-4699) .
ware.com/2020/01/16/snekboard-controls-lego-power-functions
165. "The Python → 11l → C++ transpiler" (https://11l-lang.org/transpi
-with-circuitpython-or-snek-programming-languages/) from the
ler) . Archived (https://web.archive.org/web/20220924233728/
original on 5 January 2024. Retrieved 4 January 2024.
https://11l-lang.org/transpiler/) from the original on 24
156. Kennedy (@mkennedy), Michael. "Ready to find out if you're git September 2022. Retrieved 17 July 2022.
famous?" (https://pythonbytes.fm/episodes/show/187/ready-to-f
166. "google/grumpy" (https://github.com/google/grumpy) . 10 April
ind-out-if-youre-git-famous) . pythonbytes.fm. Archived (https://
2020. Archived (https://web.archive.org/web/20200415054919/
web.archive.org/web/20240105001031/https://pythonbytes.fm/
https://github.com/google/grumpy) from the original on 15
episodes/show/187/ready-to-find-out-if-youre-git-famous) from
April 2020. Retrieved 25 March 2020 – via GitHub.
the original on 5 January 2024. Retrieved 4 January 2024.
167. "Projects" (https://opensource.google/projects/) .
157. Packard, Keith (20 December 2022). "The Snek Programming
opensource.google. Archived (https://web.archive.org/web/2020
Language: A Python-inspired Embedded Computing Language" (h
0424191248/https://opensource.google/projects/) from the
ttps://sneklang.org/doc/snek.pdf) (PDF). Archived (https://we
original on 24 April 2020. Retrieved 25 March 2020.
b.archive.org/web/20240104162458/https://sneklang.org/doc/s
nek.pdf) (PDF) from the original on 4 January 2024. Retrieved 168. Francisco, Thomas Claburn in San. "Google's Grumpy code

4 January 2024. makes Python Go" (https://www.theregister.com/2017/01/05/go


ogles_grumpy_makes_python_go/) . www.theregister.com.
158. "Plans for optimizing Python" (https://code.google.com/p/unlade
Archived (https://web.archive.org/web/20210307165521/https://
n-swallow/wiki/ProjectPlan) . Google Project Hosting. 15
www.theregister.com/2017/01/05/googles_grumpy_makes_pyth
December 2009. Archived (https://web.archive.org/web/2016041
on_go/) from the original on 7 March 2021. Retrieved
1181848/https://code.google.com/p/unladen-swallow/wiki/Proj
20 January 2021.
ectPlan) from the original on 11 April 2016. Retrieved
24 September 2011. 169. "GitHub – IronLanguages/ironpython3: Implementation of Python
3.x for .NET Framework that is built on top of the Dynamic
159. "Python on the Nokia N900" (http://www.stochasticgeometry.ie/2
Language Runtime" (https://github.com/IronLanguages/ironpyth
010/04/29/python-on-the-nokia-n900/) . Stochastic Geometry.
on3) . GitHub. Archived (https://web.archive.org/web/20210928
29 April 2010. Archived (https://web.archive.org/web/201906200
101250/https://github.com/IronLanguages/ironpython3) from
00053/http://www.stochasticgeometry.ie/2010/04/29/python-on
the original on 28 September 2021.
-the-nokia-n900/) from the original on 20 June 2019. Retrieved
9 July 2015. 170. "IronPython.net /" (https://ironpython.net/) . ironpython.net.
Archived (https://web.archive.org/web/20210417064418/https://
160. "Brython" (https://brython.info/) . brython.info. Archived (https://
ironpython.net/) from the original on 17 April 2021.
web.archive.org/web/20180803065954/http://brython.info/)
from the original on 3 August 2018. Retrieved 21 January 2021. 171. "Jython FAQ" (https://www.jython.org/jython-old-sites/archive/2
2/userfaq.html) . www.jython.org. Archived (https://web.archive.
161. "Transcrypt – Python in the browser" (https://www.transcrypt.or
org/web/20210422055726/https://www.jython.org/jython-old-sit
g) . transcrypt.org. Archived (https://web.archive.org/web/2018
es/archive/22/userfaq.html) from the original on 22 April 2021.
0819133303/http://www.transcrypt.org/) from the original on
Retrieved 22 April 2021.
19 August 2018. Retrieved 22 December 2020.
172. Murri, Riccardo (2013). Performance of Python runtimes on a non-
162. "Transcrypt: Anatomy of a Python to JavaScript Compiler" (http
numeric scientific code. European Conference on Python in
s://www.infoq.com/articles/transcrypt-python-javascript-compile
Science (EuroSciPy). arXiv:1404.6388 (https://arxiv.org/abs/140
r/) . InfoQ. Archived (https://web.archive.org/web/20201205193
4.6388) . Bibcode:2014arXiv1404.6388M (https://ui.adsabs.har
339/https://www.infoq.com/articles/transcrypt-python-javascript
vard.edu/abs/2014arXiv1404.6388M) .
-compiler/) from the original on 5 December 2020. Retrieved
20 January 2021.
173. "The Computer Language Benchmarks Game" (https://benchmar 182. Norwitz, Neal (8 April 2002). "[Python-Dev] Release Schedules
ksgame-team.pages.debian.net/benchmarksgame/fastest/pytho (was Stability & change)" (https://mail.python.org/pipermail/pyth
n.html) . Archived (https://web.archive.org/web/202006142102 on-dev/2002-April/022739.html) . Archived (https://web.archive.
46/https://benchmarksgame-team.pages.debian.net/benchmark org/web/20181215122750/https://mail.python.org/pipermail/pyt
sgame/fastest/python.html) from the original on 14 June 2020. hon-dev/2002-April/022739.html) from the original on 15
Retrieved 30 April 2020. December 2018. Retrieved 27 June 2009.

174. Warsaw, Barry; Hylton, Jeremy; Goodger, David (13 June 2000). 183. Aahz; Baxter, Anthony (15 March 2001). "PEP 6 – Bug Fix
"PEP 1 – PEP Purpose and Guidelines" (https://www.python.org/ Releases" (https://www.python.org/dev/peps/pep-0006/) .
dev/peps/pep-0001/) . Python Enhancement Proposals. Python Python Enhancement Proposals. Python Software Foundation.
Software Foundation. Archived (https://web.archive.org/web/202 Archived (https://web.archive.org/web/20200605001318/https://
00606042011/https://www.python.org/dev/peps/pep-0001/) www.python.org/dev/peps/pep-0006/) from the original on 5
from the original on 6 June 2020. Retrieved 19 April 2011. June 2020. Retrieved 27 June 2009.

175. "PEP 8 – Style Guide for Python Code" (https://www.python.org/d 184. "Python Buildbot" (https://www.python.org/dev/buildbot/) .
ev/peps/pep-0008/) . Python.org. Archived (https://web.archive. Python Developer's Guide. Python Software Foundation. Archived
org/web/20190417223549/https://www.python.org/dev/peps/pe (https://web.archive.org/web/20200605001322/https://www.pyt
p-0008/) from the original on 17 April 2019. Retrieved 26 March hon.org/dev/buildbot/) from the original on 5 June 2020.
2019. Retrieved 24 September 2011.

176. Cannon, Brett. "Guido, Some Guys, and a Mailing List: How 185. "1. Extending Python with C or C++ – Python 3.9.1
Python is Developed" (https://web.archive.org/web/2009060113 documentation" (https://docs.python.org/3/extending/extending.
4342/http://www.python.org/dev/intro/) . python.org. Python html) . docs.python.org. Archived (https://web.archive.org/web/
Software Foundation. Archived from the original (https://www.pyt 20200623232830/https://docs.python.org/3/extending/extendin
hon.org/dev/intro/) on 1 June 2009. Retrieved 27 June 2009. g.html) from the original on 23 June 2020. Retrieved
14 February 2021.
177. "Moving Python's bugs to GitHub [LWN.net]" (https://lwn.net/Artic
les/885854/) . Archived (https://web.archive.org/web/2022100 186. "PEP 623 – Remove wstr from Unicode" (https://www.python.or
2183818/https://lwn.net/Articles/885854/) from the original on g/dev/peps/pep-0623/) . Python.org. Archived (https://web.arch
2 October 2022. Retrieved 2 October 2022. ive.org/web/20210305153214/https://www.python.org/dev/pep
s/pep-0623/) from the original on 5 March 2021. Retrieved
178. "Python Developer's Guide – Python Developer's Guide" (https://d
14 February 2021.
evguide.python.org/) . devguide.python.org. Archived (https://we
b.archive.org/web/20201109032501/https://devguide.python.or 187. "PEP 634 – Structural Pattern Matching: Specification" (https://w
g/) from the original on 9 November 2020. Retrieved ww.python.org/dev/peps/pep-0634/) . Python.org. Archived (htt
17 December 2019. ps://web.archive.org/web/20210506005315/https://www.pytho
n.org/dev/peps/pep-0634/) from the original on 6 May 2021.
179. Hughes, Owen (24 May 2021). "Programming languages: Why
Retrieved 14 February 2021.
Python 4.0 might never arrive, according to its creator" (https://w
ww.techrepublic.com/article/programming-languages-why-pytho 188. "Documentation Tools" (https://wiki.python.org/moin/Documenta
n-4-0-will-probably-never-arrive-according-to-its-creator/) . tionTools) . Python.org. Archived (https://web.archive.org/web/
TechRepublic. Archived (https://web.archive.org/web/202207142 20201111173635/https://wiki.python.org/moin/DocumentationT
01302/https://www.techrepublic.com/article/programming-langu ools) from the original on 11 November 2020. Retrieved
ages-why-python-4-0-will-probably-never-arrive-according-to-its-cr 22 March 2021.
eator/) from the original on 14 July 2022. Retrieved 16 May
189. "Whetting Your Appetite" (https://docs.python.org/tutorial/appetit
2022.
e.html) . The Python Tutorial. Python Software Foundation.
180. "PEP 602 – Annual Release Cycle for Python" (https://www.pytho Archived (https://web.archive.org/web/20121026063559/http://
n.org/dev/peps/pep-0602/) . Python.org. Archived (https://web. docs.python.org/tutorial/appetite.html) from the original on 26
archive.org/web/20200614202755/https://www.python.org/dev/ October 2012. Retrieved 20 February 2012.
peps/pep-0602/) from the original on 14 June 2020. Retrieved
190. "In Python, should I use else after a return in an if block?" (https://
6 November 2019.
stackoverflow.com/questions/5033906/in-python-should-i-use-el
181. "Changing the Python release cadence [LWN.net]" (https://lwn.ne se-after-a-return-in-an-if-block) . Stack Overflow. Stack
t/Articles/802777/) . lwn.net. Archived (https://web.archive.org/ Exchange. 17 February 2011. Archived (https://web.archive.org/
web/20191106170153/https://lwn.net/Articles/802777/) from web/20190620000050/https://stackoverflow.com/questions/50
the original on 6 November 2019. Retrieved 6 November 2019. 33906/in-python-should-i-use-else-after-a-return-in-an-if-block)
from the original on 20 June 2019. Retrieved 6 May 2011.
191. Lutz, Mark (2009). Learning Python: Powerful Object-Oriented 200. "What Powers Instagram: Hundreds of Instances, Dozens of
Programming (https://books.google.com/books?id=1HxWGezDZ Technologies" (https://instagram-engineering.com/what-powers-i
cgC&pg=PA17) . O'Reilly Media, Inc. p. 17. nstagram-hundreds-of-instances-dozens-of-technologies-adf2e2
ISBN 9781449379322. Archived (https://web.archive.org/web/20 2da2ad) . Instagram Engineering. 11 December 2016. Archived
170717044012/https://books.google.com/books?id=1HxWGezD (https://web.archive.org/web/20200615183410/https://instagra
ZcgC&pg=PA17) from the original on 17 July 2017. Retrieved m-engineering.com/what-powers-instagram-hundreds-of-instanc
9 May 2017. es-dozens-of-technologies-adf2e22da2ad) from the original on
15 June 2020. Retrieved 27 May 2019.
192. Fehily, Chris (2002). Python (https://books.google.com/books?id
=carqdIdfVlYC&pg=PR15) . Peachpit Press. p. xv. 201. "How we use Python at Spotify" (https://labs.spotify.com/2013/0
ISBN 9780201748840. Archived (https://web.archive.org/web/20 3/20/how-we-use-python-at-spotify/) . Spotify Labs. 20 March
170717044040/https://books.google.com/books?id=carqdIdfVlY 2013. Archived (https://web.archive.org/web/20200610005143/
C&pg=PR15) from the original on 17 July 2017. Retrieved 9 May https://labs.spotify.com/2013/03/20/how-we-use-python-at-spot
2017. ify/) from the original on 10 June 2020. Retrieved 25 July 2018.

193. Lubanovic, Bill (2014). Introducing Python (http://archive.org/deta 202. Fortenberry, Tim (17 January 2003). "Industrial Light & Magic
ils/introducingpytho0000luba) . Sebastopol, CA : O'Reilly Media. Runs on Python" (https://www.python.org/about/success/ilm/) .
p. 305. ISBN 978-1-4493-5936-2. Retrieved 31 July 2023. Python Software Foundation. Archived (https://web.archive.org/
web/20200606042020/https://www.python.org/about/success/il
194. Blake, Troy (18 January 2021). "TIOBE Index for January 2021" (h
m/) from the original on 6 June 2020. Retrieved 11 February
ttps://seniordba.wordpress.com/2021/01/18/tiobe-index-for-jan
2012.
uary-2021/) . Technology News and Information by SeniorDBA.
Archived (https://web.archive.org/web/20210321143253/https:// 203. Taft, Darryl K. (5 March 2007). "Python Slithers into Systems" (htt
seniordba.wordpress.com/2021/01/18/tiobe-index-for-january-2 p://www.eweek.com/c/a/Application-Development/Python-Slithe
021/) from the original on 21 March 2021. Retrieved rs-into-Systems/) . eWeek.com. Ziff Davis Holdings. Archived (ht
26 February 2021. tps://web.archive.org/web/20210813194304/https://www.ewee
k.com/development/python-slithers-into-systems/) from the
195. "Quotes about Python" (https://www.python.org/about/quote
original on 13 August 2021. Retrieved 24 September 2011.
s/) . Python Software Foundation. Archived (https://web.archiv
e.org/web/20200603135201/https://www.python.org/about/quo 204. GitHub – reddit-archive/reddit: historical code from reddit.com. (htt
tes/) from the original on 3 June 2020. Retrieved 8 January ps://github.com/reddit-archive/reddit) , The Reddit Archives,
2012. archived (https://web.archive.org/web/20200601104939/https://
github.com/reddit-archive/reddit) from the original on 1 June
196. "Organizations Using Python" (https://wiki.python.org/moin/Orga
2020, retrieved 20 March 2019
nizationsUsingPython) . Python Software Foundation. Archived
(https://web.archive.org/web/20180821075931/https://wiki.pyth 205. "Real time communication at scale with Elixir at Discord" (https://
on.org/moin/OrganizationsUsingPython) from the original on elixir-lang.org/blog/2020/10/08/real-time-communication-at-scal
21 August 2018. Retrieved 15 January 2009. e-with-elixir-at-discord/) . 8 October 2020.

197. "Python : the holy grail of programming" (http://cdsweb.cern.ch/j 206. "What Programming Language is Baidu Built In?" (https://www.fre
ournal/CERNBulletin/2006/31/News%20Articles/974627?ln=e elancinggig.com/blog/2018/07/05/what-programming-language-
n) . CERN Bulletin (31/2006). CERN Publications. 31 July 2006. is-baidu-built-in/#:~:text=Even%20though%20Baidu%20has%20u
Archived (https://archive.today/20130115191843/http://cdsweb. sed,part%20JavaScript%20has%20been%20applied) . 5 July
cern.ch/journal/CERNBulletin/2006/31/News%20Articles/97462 2018.
7?ln=en) from the original on 15 January 2013. Retrieved
207. "Usage statistics and market share of Python for websites" (htt
11 February 2012.
p://w3techs.com/technologies/details/pl-python/all/all) . 2012.
198. Shafer, Daniel G. (17 January 2003). "Python Streamlines Space Archived (https://web.archive.org/web/20210813194305/https://
Shuttle Mission Design" (https://www.python.org/about/succes w3techs.com/technologies/details/pl-python) from the original
s/usa/) . Python Software Foundation. Archived (https://web.arc on 13 August 2021. Retrieved 18 December 2012.
hive.org/web/20200605093424/https://www.python.org/about/s
uccess/usa/) from the original on 5 June 2020. Retrieved
24 November 2008.

199. "Tornado: Facebook's Real-Time Web Framework for Python –


Facebook for Developers" (https://developers.facebook.com/blo
g/post/301) . Facebook for Developers. Archived (https://web.ar
chive.org/web/20190219031313/https://developers.facebook.co
m/blog/post/301) from the original on 19 February 2019.
Retrieved 19 June 2018.
208. Oliphant, Travis (2007). "Python for Scientific Computing" (http 215. Jouppi, Norm. "Google supercharges machine learning tasks with
s://www.h2desk.com/blog/python-scientific-computing/) . TPU custom chip" (https://cloudplatform.googleblog.com/2016/
Computing in Science and Engineering. 9 (3): 10–20. 05/Google-supercharges-machine-learning-tasks-with-custom-ch
Bibcode:2007CSE.....9c..10O (https://ui.adsabs.harvard.edu/abs/ ip.html) . Google Cloud Platform Blog. Archived (https://web.arc
2007CSE.....9c..10O) . CiteSeerX 10.1.1.474.6460 (https://citese hive.org/web/20160518201516/https://cloudplatform.googleblo
erx.ist.psu.edu/viewdoc/summary?doi=10.1.1.474.6460) . g.com/2016/05/Google-supercharges-machine-learning-tasks-wi
doi:10.1109/MCSE.2007.58 (https://doi.org/10.1109%2FMCSE.2 th-custom-chip.html) from the original on 18 May 2016.
007.58) . ISSN 1521-9615 (https://search.worldcat.org/issn/152 Retrieved 19 May 2016.
1-9615) . S2CID 206457124 (https://api.semanticscholar.org/Co
216. De Raedt, Luc; Kimmig, Angelika (2015). "Probabilistic (logic)
rpusID:206457124) . Archived (https://web.archive.org/web/202
programming concepts" (https://doi.org/10.1007%2Fs10994-015
00615193226/https://www.h2desk.com/blog/python-scientific-c
-5494-z) . Machine Learning. 100 (1): 5–47.
omputing/) from the original on 15 June 2020. Retrieved
doi:10.1007/s10994-015-5494-z (https://doi.org/10.1007%2Fs10
10 April 2015.
994-015-5494-z) . S2CID 3166992 (https://api.semanticscholar.
209. Millman, K. Jarrod; Aivazis, Michael (2011). "Python for Scientists org/CorpusID:3166992) .
and Engineers" (http://www.computer.org/csdl/mags/cs/2011/0
217. "Natural Language Toolkit – NLTK 3.5b1 documentation" (http://
2/mcs2011020009.html) . Computing in Science and
www.nltk.org/) . www.nltk.org. Archived (https://web.archive.or
Engineering. 13 (2): 9–12. Bibcode:2011CSE....13b...9M (https://u
g/web/20200613003911/http://www.nltk.org/) from the
i.adsabs.harvard.edu/abs/2011CSE....13b...9M) .
original on 13 June 2020. Retrieved 10 April 2020.
doi:10.1109/MCSE.2011.36 (https://doi.org/10.1109%2FMCSE.2
011.36) . Archived (https://web.archive.org/web/201902190314 218. Andersen, C. and Swift, T., 2023. The Janus System: a bridge to

39/https://www.computer.org/csdl/mags/cs/2011/02/mcs2011 new prolog applications. In Prolog: The Next 50 Years (pp. 93–

020009.html) from the original on 19 February 2019. Retrieved 104). Cham: Springer Nature Switzerland.

7 July 2014. 219. "SWI-Prolog Python interface" (https://www.swi-prolog.org/pldo

210. Science education with SageMath (https://web.archive.org/web/2 c/doc_for?object=section(%27packages/janus.html%27)) .


0200615180428/http://visual.icse.us.edu.pl/methodology/why_S Archived (https://web.archive.org/web/20240315162046/https://

age.html) , Innovative Computing in Science Education, archived www.swi-prolog.org/pldoc/doc_for?object=section%28%27packa

from the original (http://visual.icse.us.edu.pl/methodology/why_ ges%2Fjanus.html%27%29) from the original on 15 March

Sage.html) on 15 June 2020, retrieved 22 April 2019 2024. Retrieved 15 March 2024.

211. "OpenCV: OpenCV-Python Tutorials" (https://docs.opencv.org/3. 220. Tarau, P., 2023. Reflections on automation, learnability and

4.9/d6/d00/tutorial_py_root.html) . docs.opencv.org. Archived (h expressiveness in logic-based programming languages. In

ttps://web.archive.org/web/20200923063145/https://docs.open Prolog: The Next 50 Years (pp. 359–371). Cham: Springer Nature

cv.org/3.4.9/d6/d00/tutorial_py_root.html) from the original on Switzerland.

23 September 2020. Retrieved 14 September 2020. 221. "Tkinter — Python interface to TCL/Tk" (https://docs.python.org/

212. Dean, Jeff; Monga, Rajat; et al. (9 November 2015). "TensorFlow: 3/library/tkinter.html) . Archived (https://web.archive.org/web/2
Large-scale machine learning on heterogeneous systems" (http:// 0121018043136/http://docs.python.org/library/tkinter.html)

download.tensorflow.org/paper/whitepaper2015.pdf) (PDF). from the original on 18 October 2012. Retrieved 9 June 2023.

TensorFlow.org. Google Research. Archived (https://web.archive. 222. "Python Tkinter Tutorial" (https://www.geeksforgeeks.org/python-
org/web/20151120004649/http://download.tensorflow.org/pape tkinter-tutorial/) . 3 June 2020. Archived (https://web.archive.or
r/whitepaper2015.pdf) (PDF) from the original on 20 November g/web/20230609031631/https://www.geeksforgeeks.org/python
2015. Retrieved 10 November 2015. -tkinter-tutorial/) from the original on 9 June 2023. Retrieved

213. Piatetsky, Gregory. "Python eats away at R: Top Software for 9 June 2023.

Analytics, Data Science, Machine Learning in 2018: Trends and 223. "Installers for GIMP for Windows – Frequently Asked Questions"
Analysis" (https://www.kdnuggets.com/2018/05/poll-tools-analyt (https://web.archive.org/web/20130717070814/http://gimp-win.
ics-data-science-machine-learning-results.html/2) . KDnuggets. sourceforge.net/faq.html) . 26 July 2013. Archived from the
Archived (https://web.archive.org/web/20191115234216/https:// original (http://gimp-win.sourceforge.net/faq.html) on 17 July
www.kdnuggets.com/2018/05/poll-tools-analytics-data-science- 2013. Retrieved 26 July 2013.
machine-learning-results.html/2) from the original on 15
224. "jasc psp9components" (https://web.archive.org/web/20080319
November 2019. Retrieved 30 May 2018.
061519/http://www.jasc.com/support/customercare/articles/ps
214. "Who is using scikit-learn? – scikit-learn 0.20.1 documentation" p9components.asp) . Archived from the original (http://www.jas
(https://scikit-learn.org/stable/testimonials/testimonials.html) . c.com/support/customercare/articles/psp9components.asp)
scikit-learn.org. Archived (https://web.archive.org/web/20200506 on 19 March 2008.
210716/https://scikit-learn.org/stable/testimonials/testimonials.
html) from the original on 6 May 2020. Retrieved 30 November
2018.
225. "About getting started with writing geoprocessing scripts" (http:// 234. "Gotchas for Python Users" (https://web.archive.org/web/200812
webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=Ab 11062108/http://boo.codehaus.org/Gotchas+for+Python+User
out_getting_started_with_writing_geoprocessing_scripts) . s) . boo.codehaus.org. Codehaus Foundation. Archived from the
ArcGIS Desktop Help 9.2. Environmental Systems Research original (http://boo.codehaus.org/Gotchas+for+Python+Users)
Institute. 17 November 2006. Archived (https://web.archive.org/ on 11 December 2008. Retrieved 24 November 2008.
web/20200605144616/http://webhelp.esri.com/arcgisdesktop/
235. Esterbrook, Charles. "Acknowledgements" (https://web.archive.or
9.2/index.cfm?TopicName=About_getting_started_with_writing_
g/web/20080208141002/http://cobra-language.com/docs/ackn
geoprocessing_scripts) from the original on 5 June 2020.
owledgements/) . cobra-language.com. Cobra Language.
Retrieved 11 February 2012.
Archived from the original (http://cobra-language.com/docs/ack
226. CCP porkbelly (24 August 2010). "Stackless Python 2.7" (https:// nowledgements/) on 8 February 2008. Retrieved 7 April 2010.
community.eveonline.com/news/dev-blogs/stackless-python-2.
236. "Proposals: iterators and generators [ES4 Wiki]" (https://web.arch
7/) . EVE Community Dev Blogs. CCP Games. Archived (https://w
ive.org/web/20071020082650/http://wiki.ecmascript.org/doku.p
eb.archive.org/web/20140111155537/http://community.eveonlin
hp?id=proposals:iterators_and_generators) .
e.com/news/dev-blogs/stackless-python-2.7/) from the
wiki.ecmascript.org. Archived from the original (http://wiki.ecma
original on 11 January 2014. Retrieved 11 January 2014. "As you
script.org/doku.php?id=proposals:iterators_and_generators) on
may know, EVE has at its core the programming language known
20 October 2007. Retrieved 24 November 2008.
as Stackless Python."
237. "Frequently asked questions" (https://docs.godotengine.org/en/s
227. Caudill, Barry (20 September 2005). "Modding Sid Meier's
table/about/faq.html) . Godot Engine documentation. Archived
Civilization IV" (https://web.archive.org/web/20101202164144/h
(https://web.archive.org/web/20210428053339/https://docs.god
ttp://www.2kgames.com/civ4/blog_03.htm) . Sid Meier's
otengine.org/en/stable/about/faq.html) from the original on 28
Civilization IV Developer Blog. Firaxis Games. Archived from the
April 2021. Retrieved 10 May 2021.
original (http://www.2kgames.com/civ4/blog_03.htm) on 2
December 2010. "we created three levels of tools ... The next 238. Kincaid, Jason (10 November 2009). "Google's Go: A New

level offers Python and XML support, letting modders with more Programming Language That's Python Meets C++" (https://techcr
experience manipulate the game world and everything in it." unch.com/2009/11/10/google-go-language/) . TechCrunch.
Archived (https://web.archive.org/web/20100118014358/http://
228. "Python Language Guide (v1.0)" (https://web.archive.org/web/20
www.techcrunch.com/2009/11/10/google-go-language/) from
100715145616/http://code.google.com/apis/documents/docs/
the original on 18 January 2010. Retrieved 29 January 2010.
1.0/developers_guide_python.html) . Google Documents List
Data API v1.0. Archived from the original (https://code.google.co 239. Strachan, James (29 August 2003). "Groovy – the birth of a new
m/apis/documents/docs/1.0/developers_guide_python.html) dynamic language for the Java platform" (https://web.archive.or

on 15 July 2010. g/web/20070405085722/http://radio.weblogs.com/0112098/20


03/08/29.html) . Archived from the original (http://radio.weblog
229. "Python Setup and Usage" (https://docs.python.org/3/using/unix.
s.com/0112098/2003/08/29.html) on 5 April 2007. Retrieved
html) . Python Software Foundation. Archived (https://web.archi
11 June 2007.
ve.org/web/20200617143505/https://docs.python.org/3/using/u
nix.html) from the original on 17 June 2020. Retrieved 240. "Modular Docs – Why Mojo" (https://docs.modular.com/mojo/wh

10 January 2020. y-mojo.html) . docs.modular.com. Archived (https://web.archive.


org/web/20230505083518/https://docs.modular.com/mojo/why
230. "Immunity: Knowing You're Secure" (https://web.archive.org/web/
-mojo.html) from the original on 5 May 2023. Retrieved 5 May
20090216134332/http://immunitysec.com/products-immdbg.sht
2023. "Mojo as a member of the Python family [..] Embracing
ml) . Archived from the original (http://www.immunitysec.com/p
Python massively simplifies our design efforts, because most of
roducts-immdbg.shtml) on 16 February 2009.
the syntax is already specified. [..] we decided that the right long-
231. "Core Security" (https://www.coresecurity.com/) . Core Security. term goal for Mojo is to provide a superset of Python (i.e. be
Archived (https://web.archive.org/web/20200609165041/http:// compatible with existing programs) and to embrace the CPython
www.coresecurity.com/) from the original on 9 June 2020. immediately for long-tail ecosystem enablement. To a Python
Retrieved 10 April 2020. programmer, we expect and hope that Mojo will be immediately
familiar, while also providing new tools for developing systems-
232. "What is Sugar?" (http://sugarlabs.org/go/Sugar) . Sugar Labs.
level code that enable you to do things that Python falls back to C
Archived (https://web.archive.org/web/20090109025944/http://s
and C++ for."
ugarlabs.org/go/Sugar) from the original on 9 January 2009.
Retrieved 11 February 2012. 241. Spencer, Michael (4 May 2023). "What is Mojo Programming
Language?" (https://datasciencelearningcenter.substack.com/p/
233. "4.0 New Features and Fixes" (http://www.libreoffice.org/downloa
what-is-mojo-programming-language) .
d/4-0-new-features-and-fixes/) . LibreOffice.org. The Document
datasciencelearningcenter.substack.com. Archived (https://web.ar
Foundation. 2013. Archived (https://web.archive.org/web/20140
chive.org/web/20230505090408/https://datasciencelearningcen
209184807/http://www.libreoffice.org/download/4-0-new-feature
ter.substack.com/p/what-is-mojo-programming-language)
s-and-fixes/) from the original on 9 February 2014. Retrieved
from the original on 5 May 2023. Retrieved 5 May 2023.
25 February 2013.
242. Yegulalp, Serdar (16 January 2017). "Nim language draws from 245. Jalan, Nishant Aanjaney (10 November 2022). "Programming in
best of Python, Rust, Go, and Lisp" (https://www.infoworld.com/a Kotlin" (https://medium.com/codex/programming-in-kotlin-934bd
rticle/3157745/application-development/nim-language-draws-fro b3659cf) . CodeX. Retrieved 29 April 2024.
m-best-of-python-rust-go-and-lisp.html) . InfoWorld. Archived (ht
246. Kupries, Andreas; Fellows, Donal K. (14 September 2000). "TIP
tps://web.archive.org/web/20181013211847/https://www.infow
#3: TIP Format" (http://www.tcl.tk/cgi-bin/tct/tip/3.html) . tcl.tk.
orld.com/article/3157745/application-development/nim-languag
Tcl Developer Xchange. Archived (https://web.archive.org/web/2
e-draws-from-best-of-python-rust-go-and-lisp.html) from the
0170713233954/http://tcl.tk/cgi-bin/tct/tip/3.html) from the
original on 13 October 2018. Retrieved 7 June 2020. "Nim's
original on 13 July 2017. Retrieved 24 November 2008.
syntax is strongly reminiscent of Python's, as it uses indented
code blocks and some of the same syntax (such as the way 247. Gustafsson, Per; Niskanen, Raimo (29 January 2007). "EEP 1:

if/elif/then/else blocks are constructed)." EEP Purpose and Guidelines" (http://www.erlang.org/eeps/eep-0


001.html) . erlang.org. Archived (https://web.archive.org/web/2
243. "An Interview with the Creator of Ruby" (http://www.linuxdevcente
0200615153206/http://erlang.org/eeps/eep-0001.html) from
r.com/pub/a/linux/2001/11/29/ruby.html) .
the original on 15 June 2020. Retrieved 19 April 2011.
Linuxdevcenter.com. Archived (https://web.archive.org/web/201
80428150410/http://www.linuxdevcenter.com/pub/a/linux/200 248. "Swift Evolution Process" (https://github.com/apple/swift-evoluti

1/11/29/ruby.html) from the original on 28 April 2018. on/blob/master/process.md) . Swift Programming Language

Retrieved 3 December 2012. Evolution repository on GitHub. 18 February 2020. Archived (http
s://web.archive.org/web/20200427182556/https://github.com/a
244. Lattner, Chris (3 June 2014). "Chris Lattner's Homepage" (http://n
pple/swift-evolution/blob/master/process.md) from the
ondot.org/sabre) . Chris Lattner. Archived (https://web.archive.o
original on 27 April 2020. Retrieved 27 April 2020.
rg/web/20151222150510/http://nondot.org/sabre/) from the
original on 22 December 2015. Retrieved 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."
[1]

Sources

"Python for Artificial Intelligence" (https://web.archive.org/web/20121101045354/http://wiki.python.org/moin/PythonForArtificialIntelligenc


e) . Python Wiki. 19 July 2012. Archived from the original (https://wiki.python.org/moin/PythonForArtificialIntelligence) on 1 November
2012. Retrieved 3 December 2012.

Paine, Jocelyn, ed. (August 2005). "AI in Python" (https://web.archive.org/web/20120326105810/http://www.ainewsletter.com/newsletters/a


ix_0508.htm#python_ai_ai) . AI Expert Newsletter. Amzi!. Archived from the original (http://www.ainewsletter.com/newsletters/aix_0508.htm
#python_ai_ai) on 26 March 2012. Retrieved 11 February 2012.

"PyAIML 0.8.5 : Python Package Index" (https://pypi.python.org/pypi/PyAIML) . Pypi.python.org. Retrieved 17 July 2013.

Russell, Stuart J. & Norvig, Peter (2009). Artificial Intelligence: A Modern Approach (3rd ed.). Upper Saddle River, NJ: Prentice Hall. ISBN 978-0-
13-604259-4.

Further reading

Downey, Allen B. (May 2012). Think Python: How to Think Like a Computer Scientist (version 1.6.6 ed.). Cambridge University Press. ISBN 978-
0-521-72596-5.

Hamilton, Naomi (5 August 2008). "The A-Z of Programming Languages: Python" (https://web.archive.org/web/20081229095320/http://ww
w.computerworld.com.au/index.php/id%3B66665771) . Computerworld. Archived from the original (http://www.computerworld.com.au/inde
x.php/id;66665771) on 29 December 2008. Retrieved 31 March 2010.

Lutz, Mark (2013). Learning Python (5th ed.). O'Reilly Media. ISBN 978-0-596-15806-4.

Summerfield, Mark (2009). Programming in Python 3 (2nd ed.). Addison-Wesley Professional. ISBN 978-0-321-68056-3.

Ramalho, Luciano (May 2022). Fluent Python (https://www.thoughtworks.com/insights/books/fluent-python-2nd-edition) . O'Reilly Media.


ISBN 978-1-4920-5632-4.
External links

Official website (https://www.python.org/)


1. Cite error: The named reference :0 was invoked but never defined (see the help page).

You might also like