The Python programming language was published in the early 90s by Guido van Rossum in Amsterdam. The language was named in reference to the English comedy troupe Monty Python and is a dynamically typed object-oriented programming language. Python has the reputation of being a simple programming language, meaning it is easier to learn and read.
Python can be used to write extremely complex programs and solve corresponding problems. The limits of Python are where it depends on system-oriented programming, for example, device drivers or optimal speed. As an interpreter language - i.e. its programs are always translated into machine language at runtime - Python is naturally inferior to languages such as the C programming language.
Python offers a number of other advantages. Not least among these is that it is completely freely available and even its source code may be modified and redistributed. It is often said about Python that it comes with "batteries included". This means that Python comes with an impressive number of modules that already provide easy-to-use solutions for a wide variety of tasks - eliminating the need for repetitive programming.
Python with object-oriented orientation
Python is a language that is very strongly oriented towards the concepts of object-oriented programming( OOP). In Python, objects are basic data types from which all other data types, including integers, floats, and strings, are derived. For example, for Python, an integer is an object of type int, where an object summarizes data and its behavior. In Python's object-orientation terminology, the properties are called the attributes of an object, and the actions you can perform on the object are its methods. It is important to note, however, that unlike some other languages, such as Java, Python does not insist strictly on object-oriented programming (OOP), but also allows procedural ways of working when it makes sense to the programmer. Therefore Python is also called a multi-paradigm language.
Web programming is one of the most important application areas for Python. In principle, there are hardly any limits to the possibilities, but in practice the following application areas occur particularly frequently in the context of dynamically generated web pages:
- the evaluation of user input(forms),
- the connection of a database and
- the integration of special (dynamic) contents, e.g. time, country of origin of the visitor.
Numerous libraries such as Tkinter, Python Grimp Toolkit( PyGTK), PyQt or wxPython are available for designing graphical user interfaces. Popular web frameworks for Python are Zope (Z Object Publishing Environment), Django and TurboGears.