Day 1 : introducing Python

2 / 20 / 2015



  • variables, math
  • flow control (conditional statements, loops)
  • basic data structures (lists and dictionaries)
  • importing modules
  • reading and parsing text files (basic)

The exercises

If you haven’t done this already, see the instructions in Day 0 : introduction: what is an image? on how to get the repository for the exercises.

  • cd pna/pna2015
  • git pull
  • cd day1
  • ipython notebook

There is a web page listing of the exercise files at