Hot answers tagged


Your error is unrelated to your looping/iteration. To see this try running this code snippet instead: import arcpy lake = "your_lake_layer_or_feature_class" In_Cities = "your_In_Cities_layer_or_feature_class" Near_analysis(lake, In_Cities) and I would expect you to get the same error message. You are receiving that error because there is not a function ...

Only top voted, non community-wiki answers of a minimum length are eligible