I am trying to enumerate each row of a points shapefile and get a certain field's value (elevation) and the xy coordinates.
I see I can use:
- arcpy.SearchCursor to get the field; OR
- arcpy.da.SearchCursor(fc, "SHAPE@XY") for the xy coordinates
but can I do both at once?