Python: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
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 [[Java]]. | |||
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java. | |||
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. | ||
Line 15: | Line 13: | ||
====Python related utilities and test suites==== | ====Python 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. | ||
====Applications with a Python programming interface==== | |||
* [[PostgreSQL]] - SQL relational database system - Open source - Current. | |||
====OS/2 text & programmers editors with Python support==== | ====OS/2 text & programmers editors with Python support==== |
Revision as of 23:13, 17 February 2016
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 Java.
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. If your favorite system isn't listed here, it may still be supported, if there's a C compiler for it. Ask around on news:comp.lang.python -- or just try compiling Python yourself.
The Python implementation is copyrighted but freely usable and distributable, even for commercial use.
Foreign libraries with Python bindings
- LZ4 - Compression library - Open source - Current
- Snappy - Compression lib. - Open Source - Current.
Applications with a Python programming interface
- PostgreSQL - SQL relational database system - Open source - Current.
OS/2 text & programmers editors with Python support
- Boxer - Contributed, requires a separate download.
- FTE - Has support for syntax highlighting, code folding and syntax-aware autoindent. - Open source - Current.
- NEdit - XFree86 - Autoindent, autocomplete and syntax highlighting - Open source - Discontinued.
Version
- Latest Version: Python v2.7.2 build: 2012-01-15 [1]
Links
OS/2 ports
These sites provide some info on OS/2 ports:
- http://os2ports.smedley.id.au/index.php?page=python
- http://members.pcug.org.au/~andymac/python.html
- http://www.os2warp.org/~jrush/python_os2/
- http://www.sschwarzer.net/python/warpstock_europe_2001.html
Authors
- Port by Paul Smedley (Current mainatainer)
- Port by Andy MacIntyre
- Port by Jeff Rush (v1.5.2 and earlier)
- Port by Andrew Zabolotny (v1.5.2 - EMX+gcc)