Python Example

*** under construction ***

For those not used to python, probably the biggest syntax surprises are:

  1. indentation is important and control the if/then/else/etc flow
  2. there's a clear namespace, e.g. you can have functions such as math.sqrt() and numpy.sqrt() and normally you do this via the "import math" and "import numpy" commands.
  3. comments are preceded with #, but also sections between """ and """