Python programming language

HomePage | Recent changes | View source | Discuss this page | Page history | Log in |

Printable version | Disclaimers | Privacy policy

Python is an interpreted, interactive programming language, created by Guido van Rossum. It is named after Monty Python's Flying Circus. It is often compared to Tcl, Perl, Scheme or Java and recently to Ruby.

Python is a multi-paradigm language, like C++ and unlike Smalltalk. This means that, rather than forcing coders to adopt one particular style of coding, it combines several. Object orientation and structured programming are supported, as well as functional programming.

Python and Perl are often considered together as being 'scripting languages', although Python, just like Perl, is perfectly capable of being used to develop large software projects such as Zope (an object based web application server) and Mojo Nation (a distributed file sharing system).

One of the most controversial aspects of Python's language design is the delimiting of program blocks. In many other languages (like Java, C, and Perl), blocks of code are delimited by braces { }. Other languages, influenced by Pascal or its ancestor Algol, delimit blocks with reserved words, usually begin and end. With both forms, it is considered good style to indent a block of code to enhance readability. In Python, the indentation itself is used to delimit code blocks; there are no other delimiters.

Python is strongly influenced by Perl and is considered to be more readable than Perl. Another language with similar strong Perl influence and better readability than Perl is Ruby.

Links