Download "python scripting for arcgis" Book at link below