arcpy删除非必须字段


    # fldObjList=arcpy.ListFields(tempPoints)     # fldNameList=[]     # for field in fldObjList:     #     if not field.required:     #         fldNameList.append(field.name)     # arcpy.DeleteField_management(tempPoints,fldNameList)