Saturday, February 10, 2007

The Python Programming Language

I have learned the Python programming language in the lectures in the last week and this week in the Internet Application Development course. According to the Python tutorial, Python is an easy to learn, powerful programming language [1]. It can be used to implement CGI programs easily just like other scripting languages such as PHP and Perl.
Unlike some well known scripting languages, the grammar of the Python language is very different from the traditional C programming language. This makes it a little bit difficult to learn. One example is that Python uses indentation to represent block structure rather than using brackets or "begin...end" blocks. This may cause confusion when the indentation is a mix of spaces and tabs on some platforms.
Python implements some functions of Object-oriented programming. This makes it easy to write complex applications. Furthermore, Python provides a set of modules that extends its functionality.

[1] http://docs.python.org/tut/node1.html

No comments: