arcpy的错误处理机制
1.arcpy的错误处理机制:rnimport arcpyrnmyinput=r”C:UsersyaoDocumentsArcGISDefault.gdb地级市”rntry:rn arcpy.CopyFeatures_management(myinput, myinput)rnexcept arcpy.ExecuteError:rn print arcpy.GetMessages()r
1.arcpy的错误处理机制:rnimport arcpyrnmyinput=r”C:UsersyaoDocumentsArcGISDefault.gdb地级市”rntry:rn arcpy.CopyFeatures_management(myinput, myinput)rnexcept arcpy.ExecuteError:rn print arcpy.GetMessages()r