【arcpy】删除非必须字段

    # fldObjList=arcpy.ListFields(tempPoints)
    # fldNameList=[]
    # for field in fldObjList:
    #     if not field.required:
    #         fldNameList.append(field.name)
    # arcpy.DeleteField_management(tempPoints,fldNameList)
posted @ 2022-01-25 22:18  yzhyingcool  阅读(200)  评论(0编辑  收藏  举报