import arcpy
import os
import fnmatch
# import Tile
# tile = Tile.tiles
tile = 'T55GDN'
shpunionf = 'E:/Atest/' + tile + '/Iboundary/Export_Output03.shp'
rows = arcpy.SearchCursor(shpunionf, ["FId"])
count = 0
for row in rows:
count = count + 1
print count
03-12
1221
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-17