Python (programming language)

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

Python
ParadigmMulti-paradigm: object-oriented, procedural (imperative), functional, structured, reflective
Designed byGuido van Rossum
DeveloperPython Software Foundation
First appeared20 February 1991 (1991-02-20)
Stable release
3.12.2  / 7 February 2024 (7 February 2024)
Typing disciplineDuck, dynamic, strong typing; optional type annotations (since 3.5, but those hints are ignored, except with unofficial tools)
OSWindows, macOS, Linux/UNIX, Android and a few other platforms
LicensePython Software Foundation License
Filename extensions.py, .pyw, .pyz,
.pyi, .pyc, .pyd
Websitepython.org
Major implementations
CPython, PyPy, Stackless Python, MicroPython, CircuitPython, IronPython, Jython
Dialects
Cython, RPython, Starlark
Influenced by
ABC, Ada, ALGOL 68,
APL, C, C++, CLU, Dylan,
Haskell, Icon, Lisp,
Modula-3
, Perl, Standard ML
Influenced
Apache Groovy, Boo, Cobra, CoffeeScript, D, F#, GDScript, Genie, Go, JavaScript, Julia, Mojo, Nim, Ring, Ruby, Swift

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.

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. 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.

Python consistently ranks as one of the most popular programming languages, and has gained widespread use in the machine learning community.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.