Jump to content

Python: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
Line 12: Line 12:
*[[Libxslt]] - XSLT parser
*[[Libxslt]] - XSLT parser


==Related utilities and test suites==
==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
Line 20: Line 20:
;Applications with a Python programming interface
;Applications with a Python programming interface
*[[PostgreSQL]] - SQL relational database system
*[[PostgreSQL]] - SQL relational database system
;Editor support
* [[jEdit]] - Java based editor - Python syntax highlighting built in
* [[NEdit]] - XFree86 - Autoindent, autocomplete and syntax highlighting


===Alternative interpreters===
===Alternative interpreters===

Revision as of 13:24, 25 February 2020

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

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

Alternative interpreters

Version

OS/2 ports

Links