Difference between revisions of "Python (programming language)"
DavidB4-bot (talk | contribs) m (clean up) |
|||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
[[Image:Python-logo.gif|right|thumb|Python logo|400px]] | [[Image:Python-logo.gif|right|thumb|Python logo|400px]] | ||
'''Python''' is a high-level programming language created by Guido van Rossum in 1991. It is a multi-paradigm language with a fully dynamic type system and automatic garbage collection. | '''Python''' is a high-level programming language created by Guido van Rossum in 1991. It is a multi-paradigm language with a fully dynamic type system and automatic garbage collection. | ||
| + | |||
| + | Python 2.7 reached its official end-of-life at the end of 2019. Almost all software is using the 3.x branch now.<ref>{{cite web | url=https://python3statement.org/ | title = Moving to require Python 3}}</ref> | ||
The most popular implementation of Python is the CPython implementation maintained by the Python Software Foundation. Currently developed under an [[open source]] model and licensed under its own Python Software Foundation License, CPython is a byte-code interpreter that comes with a rich library that includes modules for creating graphical user interface, relational database, arbitrary precision arithmetic, complex arithmetic, unit testing, regular expression, XML parsing, C/C++ interfacing and zip compression; combined, these features makes it a powerful glue language between lower-level machine languages and higher level languages and programs.<ref>{{cite web|url=http://python.org/about/ | title= About Python | work=Python Software Foundation }}</ref> In addition to the built-in libraries, python is extended by a multitude of third party packages, many of which are open source that provide features not available in the python proper. For example, the twin packages scipy<ref>{{cite web|url = http://www.scipy.org/ | title = Scipy | work = Enthought}}</ref> and numpy<ref>{{cite web|url=http://numpy.scipy.org/ |title = Numpy|work=Enthought}}</ref> extend python with a large collection of functions for scientific work and numerical analysis giving python powered applications access to optimized algorithms and high level math functions that rivals that of leading proprietary software packages like [[Mathematica]] and [[Matlab]]. Other third party packages allow programmers to write fully featured [[GUI]]<ref>{{cite web| url=http://www.riverbankcomputing.co.uk/software/pyqt/intro| title = PyQt}}</ref> and 3D<ref>{{cite web| url=http://www.panda3d.org/| title = Panda3D}}</ref> applications. | The most popular implementation of Python is the CPython implementation maintained by the Python Software Foundation. Currently developed under an [[open source]] model and licensed under its own Python Software Foundation License, CPython is a byte-code interpreter that comes with a rich library that includes modules for creating graphical user interface, relational database, arbitrary precision arithmetic, complex arithmetic, unit testing, regular expression, XML parsing, C/C++ interfacing and zip compression; combined, these features makes it a powerful glue language between lower-level machine languages and higher level languages and programs.<ref>{{cite web|url=http://python.org/about/ | title= About Python | work=Python Software Foundation }}</ref> In addition to the built-in libraries, python is extended by a multitude of third party packages, many of which are open source that provide features not available in the python proper. For example, the twin packages scipy<ref>{{cite web|url = http://www.scipy.org/ | title = Scipy | work = Enthought}}</ref> and numpy<ref>{{cite web|url=http://numpy.scipy.org/ |title = Numpy|work=Enthought}}</ref> extend python with a large collection of functions for scientific work and numerical analysis giving python powered applications access to optimized algorithms and high level math functions that rivals that of leading proprietary software packages like [[Mathematica]] and [[Matlab]]. Other third party packages allow programmers to write fully featured [[GUI]]<ref>{{cite web| url=http://www.riverbankcomputing.co.uk/software/pyqt/intro| title = PyQt}}</ref> and 3D<ref>{{cite web| url=http://www.panda3d.org/| title = Panda3D}}</ref> applications. | ||
| Line 9: | Line 11: | ||
== Hello World == | == Hello World == | ||
An example program often used for languages is something that displays "Hello, World!". | An example program often used for languages is something that displays "Hello, World!". | ||
| − | print 'Hello, World!' | + | print('Hello, World!') |
==See also== | ==See also== | ||
| Line 15: | Line 17: | ||
*[http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython IronPython] | *[http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython IronPython] | ||
| − | + | ==References== | |
| + | <references/> | ||
| + | |||
[[Category:Computer Programming]] | [[Category:Computer Programming]] | ||
| − | |||
[[Category:Programming Languages]] | [[Category:Programming Languages]] | ||
[[Category:Scripting Languages]] | [[Category:Scripting Languages]] | ||
| − | |||
| − | |||
| − | |||
Latest revision as of 19:24, April 20, 2021
Python redirects here. For other uses, see Python (disambiguation)
Python is a high-level programming language created by Guido van Rossum in 1991. It is a multi-paradigm language with a fully dynamic type system and automatic garbage collection.
Python 2.7 reached its official end-of-life at the end of 2019. Almost all software is using the 3.x branch now.[1]
The most popular implementation of Python is the CPython implementation maintained by the Python Software Foundation. Currently developed under an open source model and licensed under its own Python Software Foundation License, CPython is a byte-code interpreter that comes with a rich library that includes modules for creating graphical user interface, relational database, arbitrary precision arithmetic, complex arithmetic, unit testing, regular expression, XML parsing, C/C++ interfacing and zip compression; combined, these features makes it a powerful glue language between lower-level machine languages and higher level languages and programs.[2] In addition to the built-in libraries, python is extended by a multitude of third party packages, many of which are open source that provide features not available in the python proper. For example, the twin packages scipy[3] and numpy[4] extend python with a large collection of functions for scientific work and numerical analysis giving python powered applications access to optimized algorithms and high level math functions that rivals that of leading proprietary software packages like Mathematica and Matlab. Other third party packages allow programmers to write fully featured GUI[5] and 3D[6] applications.
Other popular Python implementations include Jython, written in Java, and IronPython, for Microsoft's .NET framework.
Hello World
An example program often used for languages is something that displays "Hello, World!".
print('Hello, World!')
