Python is a high-level, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation.[33]
Quick Facts Paradigm, Designed by ...
Python |
Paradigm | Multi-paradigm: object-oriented,[1] procedural (imperative), functional, structured, reflective |
---|
Designed by | Guido van Rossum |
---|
Developer | Python Software Foundation |
---|
First appeared | 20 February 1991; 33 years ago (1991-02-20)[2] |
---|
|
Stable release | 3.12.4 ![Edit this on Wikidata](//upload.wikimedia.org/wikipedia/en/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/10px-OOjs_UI_icon_edit-ltr-progressive.svg.png)
/ 6 June 2024 ; 44 days ago (6 June 2024) |
---|
|
Typing discipline | duck, dynamic, strong;[3] optional type annotations (since 3.5, but those hints are ignored, except with unofficial tools)[4] |
---|
OS | Tier 1: 64-bit Linux, macOS; 64- and 32-bit Windows 10+[5] Tier 2: E.g. 32-bit WebAssembly (WASI) Tier 3: 64-bit FreeBSD, iOS; e.g. Raspberry Pi OS Unofficial (or has been known to work): Other Unix-like/BSD variants and e.g. Android 5.0+ (official from Python 3.13 planned[6]) and a few other platforms[7][8][9] |
---|
License | Python Software Foundation License |
---|
Filename extensions | .py, .pyw, .pyz,[10]
.pyi, .pyc, .pyd |
---|
Website | python.org |
---|
|
CPython, PyPy, Stackless Python, MicroPython, CircuitPython, IronPython, Jython |
|
Cython, RPython, Starlark[11] |
|
ABC,[12] Ada,[13] ALGOL 68,[14] APL,[15] C,[16] C++,[17] CLU,[18] Dylan,[19] Haskell,[20][15] Icon,[21] Lisp,[22] Modula-3,[14][17] Perl,[23] Standard ML[15] |
|
Apache Groovy, Boo, Cobra, CoffeeScript,[24] D, F#, GDScript, Genie,[25] Go, JavaScript,[26][27] Julia,[28] Mojo,[29] Nim, Ring,[30] Ruby,[31] Swift[32] |
|
Close
Python is dynamically typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly procedural), object-oriented and functional programming. It is often described as a "batteries included" language due to its comprehensive standard library.[34][35]
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.[36] 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.[37]
Python consistently ranks as one of the most popular programming languages, and has gained widespread use in the machine learning community.[38][39][40][41]