<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to list layer present in a .lyr in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-list-layer-present-in-a-lyr/m-p/677215#M52416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Dan &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 23:57:29 GMT</pubDate>
    <dc:creator>PierreWeisse</dc:creator>
    <dc:date>2014-09-10T23:57:29Z</dc:date>
    <item>
      <title>How to list layer present in a .lyr</title>
      <link>https://community.esri.com/t5/python-questions/how-to-list-layer-present-in-a-lyr/m-p/677211#M52412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I work in a folder containing about 250 .lyr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish i could list the layers contained in each of .lyr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if it's possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody any idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 05:39:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-list-layer-present-in-a-lyr/m-p/677211#M52412</guid>
      <dc:creator>PierreWeisse</dc:creator>
      <dc:date>2014-09-10T05:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to list layer present in a .lyr</title>
      <link>https://community.esri.com/t5/python-questions/how-to-list-layer-present-in-a-lyr/m-p/677212#M52413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ListLayers (arcpy.mapping)&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00s30000002n000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//00s30000002n000000"&gt;ArcGIS Help 10.1&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 06:07:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-list-layer-present-in-a-lyr/m-p/677212#M52413</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2014-09-10T06:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to list layer present in a .lyr</title>
      <link>https://community.esri.com/t5/python-questions/how-to-list-layer-present-in-a-lyr/m-p/677213#M52414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;import os&lt;/P&gt;&lt;P&gt;Path=r'C.......'&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;list=([m for m in os.listdir(Path) if m.endswith('.lyr') and os.path.isfile(os.path.join(Path, m))])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 06:17:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-list-layer-present-in-a-lyr/m-p/677213#M52414</guid>
      <dc:creator>NaimeCelik</dc:creator>
      <dc:date>2014-09-10T06:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to list layer present in a .lyr</title>
      <link>https://community.esri.com/t5/python-questions/how-to-list-layer-present-in-a-lyr/m-p/677214#M52415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are interested in layers within layers as well, please see the recent post and script in my recent blog post.&amp;nbsp; The script also allows for the production of a text file containing the folder's layer information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/blogs/dan_patterson/2014/09/10/layer-information-in-folders"&gt;Layer information in folders&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 21:47:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-list-layer-present-in-a-lyr/m-p/677214#M52415</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-09-10T21:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to list layer present in a .lyr</title>
      <link>https://community.esri.com/t5/python-questions/how-to-list-layer-present-in-a-lyr/m-p/677215#M52416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Dan &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 23:57:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-list-layer-present-in-a-lyr/m-p/677215#M52416</guid>
      <dc:creator>PierreWeisse</dc:creator>
      <dc:date>2014-09-10T23:57:29Z</dc:date>
    </item>
  </channel>
</rss>

