<?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 Export unique values to shapefiles in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/export-unique-values-to-shapefiles/m-p/351741#M27575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I modify this to create a subdirectory with unique value name and then write the shapefile to it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/tag/unique value/tg-p"&gt;#unique value&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Apr 2017 20:15:18 GMT</pubDate>
    <dc:creator>LindaCollins</dc:creator>
    <dc:date>2017-04-04T20:15:18Z</dc:date>
    <item>
      <title>Export unique values to shapefiles</title>
      <link>https://community.esri.com/t5/python-questions/export-unique-values-to-shapefiles/m-p/351741#M27575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I modify this to create a subdirectory with unique value name and then write the shapefile to it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/tag/unique value/tg-p"&gt;#unique value&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 20:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-unique-values-to-shapefiles/m-p/351741#M27575</guid>
      <dc:creator>LindaCollins</dc:creator>
      <dc:date>2017-04-04T20:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Export unique values to shapefiles</title>
      <link>https://community.esri.com/t5/python-questions/export-unique-values-to-shapefiles/m-p/351742#M27576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create new directories with the os module mkdir function.&amp;nbsp; I would recommend using that along with os.path.join to write the output file name for your shapefile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;os.mkdir()&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.python.org/2/library/os.html#os.mkdir"&gt;https://docs.python.org/2/library/os.html#os.mkdir&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;os.path.join()&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.python.org/2/library/os.path.html#os.path.isfile"&gt;https://docs.python.org/2/library/os.path.html#os.path.isfile&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 20:37:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-unique-values-to-shapefiles/m-p/351742#M27576</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2017-04-04T20:37:40Z</dc:date>
    </item>
  </channel>
</rss>

