Quantcast
Channel: Question and Answer » arcpy
Viewing all articles
Browse latest Browse all 767

How to select specific filenames nested within several folders?

$
0
0

I have hundreds of shapefiles that are stored in separate folders, which are nested within several other folders. Among the shapefiles I only need the ones that are named ‘POINT*.shp’

How do I get these specific shapefiles so I can then add fields, calculate fields, etc.?

If there is a better option than os.walk, please tell. I’m only beginning to learn python, so this is very new to me.

Thanks!


Viewing all articles
Browse latest Browse all 767

Trending Articles