Day 1 : introducing Python

2 / 20 / 2015

Prior

Day

  • 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 https://github.com/practical-neuroimaging/pna2015/tree/master/day1