In this week's assignment we learned how to automate geoprocessing tools using Python scripting. We had to write a script that performs 3 geoprocessing functions: add XY coordinates, create a buffer, then dissolve the buffer into a single feature.
The steps I took to create this script are as follows:
import arcpy and env
enable overwrite output
add xy coordinates to hospitals.shp layer using AddXY_management tool
run Buffer_analysis tool on hospitals.shp layer at 1000 meter distance
run dissolve tool option on hospitals.shp layerget messages
Below is a screenshot of the results in PythonWin.