After successful completion of the course, students are able to......write simple python scripts/programs in the scientific context....use NumPy, SciPy, and Matplotlib....explain the concept of dynamic typing.
- Built-in types- Branches, loops, and exceptions- Functions- NumPy, SciPy, and Matplotlib- Modules and classes
Lecture; homework developing a program step by step; discussion of homeworks.
Python is a versatile programming language with a clear, compact syntax. It combines the features of traditional programming languages /Fortran, C/C++, Java) with those of higher-level tools like matlab with, e.g., easy access to operating system operations. Python therefore is on the rise; in the scientific context this is indicated by the SciPy project that coordinates the development of Python tools for scientific computing, and by the fact that an increasing number of software written in traditional programming languages offer Python interfaces that allow their more flexible control and postprocessing of the data.
Homework, oral exam.
Validity of enrollment requires attendance of first lecture.
The student has to be enrolled for at least one of the studies listed below
Knowledge of a higher programming language like C is required. Familiarity with the basic principles of object oriented programming is of advantage but not required. Knowledge of Python is not a prerequisite.