I work in a folder containing about 250 .lyr
I wish i could list the layers contained in each of .lyr
I don't know if it's possible ?
Has anybody any idea
Thank you for your help
ArcGIS Help 10.1
list=([m for m in os.listdir(Path) if m.endswith('.lyr') and os.path.isfile(os.path.join(Path, m))])
If you are interested in layers within layers as well, please see the recent post and script in my recent blog post. The script also allows for the production of a text file containing the folder's layer information.
Layer information in folders
Thank you very much Dan
Retrieving data ...