Slides for A Primer on Scientific Programming with Python

Hans Petter Langtangen (hpl at simula.no)


The slides come in a variety of formats .

Programming with formulas

Loops and lists

Functions and branching

User input and error handling

Array computing and curve plotting

Sequences and difference equations

Dictionaries and strings

Introduction to classes

Programming of differential equations

Random numbers and simple games

Object-oriented programming

Kort om kurset

HTML, PDF handouts


1: The slides are written in the DocOnce markup language, as the book, and can easily be translated to a range of formats and styles.