I'm not sure how my expression is failing. Any ideas?
inPoints = "points.shp"
i = 0
arcpy.MakeFeatureLayer_management(inPoints, "pts")
arcpy.SelectLayerByAttribute_management("pts", "NEW_SELECTION", '\"FID\" = i')
|
You need to use string formatting when inserting your counter,
As it stands now, your script is asking Arc to find an object with |
|||||||||||||||
|