arcgis for python 使用os.walk 和da.walk读取gdb(mdb)
import arcpy.da as dann… import osnn… print(“os walk”)nn… for dirpath, dirnames, filenames in os.walk(“C:\Users\Administrator\Documents\ArcGIS\Default.gdb”):nn… for filename in filenames:n…
import arcpy.da as dann… import osnn… print(“os walk”)nn… for dirpath, dirnames, filenames in os.walk(“C:\Users\Administrator\Documents\ArcGIS\Default.gdb”):nn… for filename in filenames:n…
import arcpy.da as dann… import osnn… print(“os walk”)nn… for dirpath, dirnames, filenames in os.walk(“C:\Users\Administrator\Documents\ArcGIS\Default.gdb”):nn… for filename in filenames:n…