Selecting a point with least distance using python code

Discussion created by lokes123 on Nov 18, 2012
Latest reply on Nov 19, 2012 by lokes123

I have selected points of interest from my points layer using the "select by attributes" in ArcGIS. My points layer have a distance column. Now, out of my points selection, i want to then select the point with the least distance. How do i code for this using python, given the task to do this using python?

Thanks in advance and any help would be very much appreciated.