Some python (mostly using the arcpy routines) code I'ave written.