Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Web Development

Template Processing Classes for Python


Dr. Dobb's Journal February 1998: About Python

Dr. Dobb's Journal February 1998

About Python

By David Arnold, Andy Bond and Martin Chilvers

The authors are researchers at the CRC for Distributed Systems Technology, University of Queensland, Australia. They can be contacted at [email protected].

Python is a portable, interpreted, object-oriented programming language influenced by a variety of other languages, most notably ABC, C, Modula-3, and Icon. With an elegant syntax and powerful, high-level data types, it is easy to learn and is ideal for CGI scripts, system administration, and many other extension and integration tasks. More importantly, its support for rapid prototyping and object-oriented programming makes it a valuable tool for serious software engineering and product development.

The small, but not oversimplified, core language provides the usual basic data types and flow-control statements, along with higher-level types such as strings, lists, tuples, and associative arrays. Object-oriented programming is supported by a class mechanism following the multiple-inheritance model. Exception handling is provided via the try/catch paradigm.

The real power of Python, however, lies in its extensibility. The language can be extended by writing modules in either Python itself, or compiled languages such as C and C++. These modules can define variables, functions, new data types and their methods, or simply provide a link to existing code libraries. It is also possible to embed the Python interpreter in another application for use as an extension language. The standard Python library includes modules for a wide range of tasks, from debuggers and profilers to Internet services and graphical user interfaces. If you need it, it is probably already there.

Python runs under Windows 3.x, 95, and NT, most flavors of UNIX, Macintosh, and OS/2. It is freely copyable and can be used without fee in commercial products. More information (and source code) can be obtained at http://www.python.org/.

DDJ


Copyright © 1998, Dr. Dobb's Journal


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.