The book: Principles of Computational Modelling in Neuroscience by David Sterratt, Bruce Graham, Andrew Gillies, David Willshaw Published June 2011 by Cambridge University Press 402 pages with 178 b/w and 2-colour illustrations and 7 tables. contains many code examples at this web site: http://www.compneuroprinciples.org/ The frontmatter for the book (including the table of contents and preface) is available here.