These pages contain the notes and excercises for a medium-length (two afternoon) course designed to introduce Earth Science PhD students to the Python programming language and some of the more useful libraries. I’ve assumed everybody is happy with basic procedural programming (i.e. can write a loop, if statment and function in something like Fortran or Matlab). The course is made up of four lectures and four practical sessions. Material can be downloaded from the links below.