Basic Python


aboucher - Posted on 05 May 2009

This section introduces the basic Python functions without reference to SGeMS. It is meant as a companion to the complete Python tutorial found at python.org.

Python implementation of programming idioms are presented in this section: loops, conditions, functions and classes. The first examples do not use the scipy libraries, but the more complex Python functions do. The scipy library can speed up algorithms by a factor of 10 or more. It is a must if you are doing serious data transformation and manipulation.