Software Carpentry tutorial from September 2012. This a tutorial or teaching aid to be used in teaching programming and data management to scientists and researchers. This is segment six of Part 4: an introduction to python programming language. This is segment 6 of 9 segments that compose an afternoon session teaching basic concepts of writing code using Python programming language