Python

Python is a programming language allowing different programming paradigms. One has the choice between object oriented, aspect oriented and functional programming.

Ressources

Functional Programming

In the German Linux-Magazin one finds an article about functional programming. This article gives a quick in-depth introduction to the topic.

Learn Core Python in a Week

Mark Curphey writes in his blog about how he learned Python in a week.

Cython

Cython is a language that makes writing C extensions for the Python language as easy as Python itself.

The Cython language is very close to the Python language, but Cython additionally supports calling C functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code.

This makes Cython the ideal language for wrapping external C libraries, and for fast C modules that speed up the execution of Python code.

  • S Behnel, R Bradshaw, D Seljebotn, Cython tutorial in Proceedings of the 8th Python in Science conference (SciPy 2009), G Varoquaux, S van der Walt, J Millman (Eds.), pp. 4-14
  • D Seljebotn, Fast numerical computations with Cython in Proceedings of the 8th Python in Science conference (SciPy 2009), G Varoquaux, S van der Walt, J Millman (Eds.), pp. 15-22

Further Literature

Related pages

Tips and Tricks around the FEM-solver FiPy

Lecture notes and exercise problems from my lecture on Python scripting

Some nice small examples of solutions for various problems.

A brief demonstration of the handling of process groups and sessions with Python's multiprocessing module.

An elegant trick to use the SUDS client behind a proxy successfully