Python scripts from Chapters 5-7 of ESRI Python book