arcpy表记录数量

arcpy.env.workspace=r'C:\Users\Administrator\Documents\ArcGIS\Default.gdb'
fcLst=arcpy.ListFeatureClasses()
for fc in fcLst:
    print fc+" > "+arcpy.GetCount_management(fc)[0]

 

posted @ 2020-09-29 09:06  yzhyingcool  阅读(406)  评论(0编辑  收藏  举报