Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Stable release
Typing discipline Duck, dynamic, strong; and since version 3.5: Gradual[4]
Filename extensions .py, .pyc, .pyd, .pyo (prior to 3.5),[5] .pyw, .pyz (since 3.5)[6]
Website www.python.org
Major implementations
Dialects
Cython, RPython
Influenced by
ABC,[7] ALGOL 68,[8] APL[9] C,[10] C++,[11] CLU,[12] Dylan,[13] Haskell,[14] Icon,[15] Java,[16] Lisp,[17]
Modula-3,[11] Perl, Standard ML[18]
Influenced
Boo, Cobra, CoffeeScript,[19] D, F#, Falcon, Genie,[20] Go, Apache Groovy, JavaScript,[21][22] Julia,[23]
Nim, Ring,[24] Ruby,[25] Swift[26]
Python interpreters are available for many operating systems. CPython, the reference implementation
of Python, is open source software[31] and has a community-based development model, as do nearly all
of Python's other implementations. Python and CPython are managed by the non-profit Python
Software Foundation.
Contents
1 History
3.1 Indentation
3.3 Expressions
3.4 Methods
3.5 Typing
3.6 Mathematics
4 Libraries
5 Development environments
6 Implementations
6.5 Performance
7 Development
8 Naming
9 API documentation generators
10 Uses
12 See also
13 References
14 Further reading
15 External links
History
Python was conceived in the late 1980s[32] by Guido van Rossum at Centrum Wiskunde & Informatica
(CWI) in the Netherlands as a successor to the ABC language (itself inspired by SETL)[33], capable of
exception handling and interfacing with the Amoeba operating system.[7] Its implementation began in
December 1989.[34] Van Rossum's long influence on Python is reflected in the title given to him by the
Python community: Benevolent Dictator For Life (BDFL) – a post from which he gave himself permanent
vacation on July 12, 2018.[35]
Python 2.0 was released on 16 October 2000 with many major new features, including a cycle-detecting
garbage collector and support for Unicode.[36]
Python 3.0 was released on 3 December 2008. It was a major revision of the language that is not
completely backward-compatible.[37] Many of its major features were backported to Python 2.6.x[38]
and 2.7.x version series. Releases of Python 3 include the 2to3 utility, which automates (at least
partially) the translation of Python 2 code to Python 3.[39]
Python 2.7's end-of-life date was initially set at 2015 then postponed to 2020 out of concern that a large
body of existing code could not easily be forward-ported to Python 3.[40][41] In January 2017, Google
announced work on a Python 2.7 to Go transcompiler to improve performance under concurrent
workloads.[42]