def FieldExists(TableName,FieldName): desc = arcpy.Describe(TableName) FieldName=FieldName.upper() for field in desc.fields: if field.Name.upper() ==FieldName: return True break return False
posted on 2019-05-25 07:08 gisai 阅读(786) 评论(0) 编辑 收藏 举报