arcpy 最短路径

n# encoding: utf-8nimport arcpynfrom arcpy import envntry:n # Check out the Network Analyst extension licensen arcpy.CheckOutExtension(“Network”)n # Set environment settingsn env.workspace