Python: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems (X11, Motif, Tk, Mac, MFC). New built-in modules are easily written in C or C++. Python is also usable as an extension language for applications that need a programmable interface. | Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems (X11, Motif, Tk, Mac, MFC). New built-in modules are easily written in C or C++. Python is also usable as an extension language for applications that need a programmable interface. | ||
The Python implementation is portable: it runs on many brands of UNIX, on Windows, OS/2, Mac, Amiga, and many other platforms | The Python implementation is portable: it runs on many brands of UNIX, on Windows, OS/2, Mac, Amiga, and many other platforms. | ||
The Python implementation is copyrighted but freely usable and distributable, even for commercial use. | The Python implementation is copyrighted but freely usable and distributable, even for commercial use. | ||
== | ==Libraries== | ||
*[[dbfread]] - Reads and converts .dbf database files | *[[dbfread]] - Reads and converts .dbf database files | ||
*[[Libxml2]] - [[XML]] parser | *[[Libxml2]] - [[XML]] parser | ||
*[[Libxslt]] - XSLT parser | *[[Libxslt]] - XSLT parser | ||
;Libraries with Python bindings | |||
*[[Cairo]] - 2D graphics library | *[[Cairo]] - 2D graphics library | ||
*[[LibcURL]] - Internet URL (WWW, FTP, etc) access | *[[LibcURL]] - Internet URL (WWW, FTP, etc) access | ||
*[[Libxml2]] - Bindings for [[XML]] parser | *[[Libxml2]] - Bindings for [[XML]] parser | ||
*[[Libxslt]] - Bindings for XSLT parser | *[[Libxslt]] - Bindings for XSLT parser | ||
*[[LZ4]] - Compression library | *[[LZ4]] - Compression library | ||
*[[Pixman]] - Low level graphics library | *[[Pixman]] - Low level graphics library | ||
*[[Simple Directmedia Layer]] - Multimedia | *[[Simple Directmedia Layer]] - Multimedia | ||
*[[Snappy]] - Compression | *[[Snappy]] - Compression | ||
== | ==Related utilities and test suites== | ||
*[[ANTLR]] - Parser generator - Runs on [[Java]] and generates Python 2 & 3 output code. | *[[ANTLR]] - Parser generator - Runs on [[Java]] and generates Python 2 & 3 output code. | ||
*[[Exuberant ctags]] - Creates index files out of Python source files - | *[[Exuberant ctags]] - Creates index files out of Python source files | ||
*Plone - CMS | |||
*Zope - web application server | |||
;Applications with a Python programming interface | |||
*[[PostgreSQL]] - SQL relational database system | *[[PostgreSQL]] - SQL relational database system | ||
;Editor support | |||
* [[Boxer]] - Contributed, requires a separate download | * [[Boxer]] - Contributed, requires a separate download | ||
* [[FTE]] - Has support for syntax highlighting, code folding and syntax-aware autoindent. | * [[FTE]] - Has support for syntax highlighting, code folding and syntax-aware autoindent. | ||
* [[jEdit]] - Java based editor - Python syntax highlighting built in | * [[jEdit]] - Java based editor - Python syntax highlighting built in | ||
* [[NEdit]] - XFree86 - Autoindent, autocomplete and syntax highlighting | * [[NEdit]] - XFree86 - Autoindent, autocomplete and syntax highlighting | ||
===Alternative interpreters=== | ===Alternative interpreters=== | ||
Line 39: | Line 41: | ||
==Version== | ==Version== | ||
* | ;OS/2 ports | ||
* 1.5.2 ([http://www.os2warp.org/~jrush/python_os2/ Port by Jeff Rush]) | |||
* 1.5.2 (EMX+gcc) Port by Andrew Zabolotny | |||
* 2.3.5 (2005-04-04) [http://members.pcug.org.au/~andymac/python-2.3/ Port by Andy MacIntyre] | |||
* 2.4.4 (2007-01-01) [http://members.pcug.org.au/~andymac/python-2.4/] | |||
* 2.7.2 (2012-01-15) [http://os2ports.smedley.id.au/index.php?page=python Port by Paul Smedley] | |||
* 2.7.6 (2019-01-23) | |||
==Links== | ==Links== | ||
* [http://www.python.org/ Python homepage] | * [http://www.python.org/ Python homepage] | ||
* http://www.sschwarzer.net/python/warpstock_europe_2001.html | * http://www.sschwarzer.net/python/warpstock_europe_2001.html | ||
[[Category:Python]] | [[Category:Python]] |
Revision as of 20:52, 14 May 2019
Python is an interpreted, interactive, object-oriented programming language. It is primarily used as a scripting language and often compared to Tcl, Perl, Scheme or even Java, but it is structurally much more similar to REXX, extremely so in fact, although the syntax is very different. Main advantage Python has over REXX is a simpler and better designed object system and a fairly good modern code library, while its main disadvantage is the lack of concepts such as parsing which are stronger in REXX and much stronger in NetRexx.
Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems (X11, Motif, Tk, Mac, MFC). New built-in modules are easily written in C or C++. Python is also usable as an extension language for applications that need a programmable interface.
The Python implementation is portable: it runs on many brands of UNIX, on Windows, OS/2, Mac, Amiga, and many other platforms.
The Python implementation is copyrighted but freely usable and distributable, even for commercial use.
Libraries
- Libraries with Python bindings
- Cairo - 2D graphics library
- LibcURL - Internet URL (WWW, FTP, etc) access
- Libxml2 - Bindings for XML parser
- Libxslt - Bindings for XSLT parser
- LZ4 - Compression library
- Pixman - Low level graphics library
- Simple Directmedia Layer - Multimedia
- Snappy - Compression
Related utilities and test suites
- ANTLR - Parser generator - Runs on Java and generates Python 2 & 3 output code.
- Exuberant ctags - Creates index files out of Python source files
- Plone - CMS
- Zope - web application server
- Applications with a Python programming interface
- PostgreSQL - SQL relational database system
- Editor support
- Boxer - Contributed, requires a separate download
- FTE - Has support for syntax highlighting, code folding and syntax-aware autoindent.
- jEdit - Java based editor - Python syntax highlighting built in
- NEdit - XFree86 - Autoindent, autocomplete and syntax highlighting
Alternative interpreters
Version
- OS/2 ports
- 1.5.2 (Port by Jeff Rush)
- 1.5.2 (EMX+gcc) Port by Andrew Zabolotny
- 2.3.5 (2005-04-04) Port by Andy MacIntyre
- 2.4.4 (2007-01-01) [1]
- 2.7.2 (2012-01-15) Port by Paul Smedley
- 2.7.6 (2019-01-23)