<?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: What is the p20 folder in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044858#M60708</link>
    <description>&lt;P&gt;Ok. Thanks Jayanta. I find that interesting... but good to know. Now when I deploy my Pro toolbox (which replaces a ArcMap toolbox) I can tell the endusers that the p20 folder is there by Esri's design. I wonder if it works like this in ArcMap? My toolbox in ArcMap doesn't use ExtractPackage so I can't say.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Apr 2021 20:58:15 GMT</pubDate>
    <dc:creator>ChrisHolmes</dc:creator>
    <dc:date>2021-04-07T20:58:15Z</dc:date>
    <item>
      <title>What is the p20 folder</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044739#M60703</link>
      <description>&lt;P&gt;If I run the following:&lt;/P&gt;&lt;P&gt;arcpy.ExtractPackage_management(prjTemplate, projectFolder)&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;P&gt;prjTemplate =&amp;nbsp;X:\Dev\BrokenLinks\ProjectTemplate\blankProject.aptx&lt;/P&gt;&lt;P&gt;projectFolder = X:\Projects\Project1&lt;/P&gt;&lt;P&gt;The template will be extracted to:&lt;/P&gt;&lt;P&gt;X:\Projects\Project1\p20\blankProject.aprx&lt;/P&gt;&lt;P&gt;What's this 'p20'?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 16:54:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044739#M60703</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2021-04-07T16:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: What is the p20 folder</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044826#M60705</link>
      <description>&lt;P&gt;Not clear from your example whether the projectFolder existed already.&amp;nbsp; Because if it didn't, it would create a new one.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/extract-package.htm" target="_blank"&gt;Extract Package (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In your case&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;X:\Projects\Project1 passed but in future you might want to try "raw encoding" the file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;r"X:\Projects\Project1"&amp;nbsp; # --- note the little .... r ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in case it got confused along the way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;On a side note... you didn't do 19 others already?&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 19:44:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044826#M60705</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-07T19:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: What is the p20 folder</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044838#M60706</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;I guess I wrote my question as pseudo code to be quicker (or lazier?). No, thankfully there are not 19 previous to 20.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using os.mkdir to create projectFolder before calling extract package. After reading your comment I did a quick test without making the folder first and you're right it does create the folder while extracting the template. But it still works the same and add the \p20 folder.&lt;/P&gt;&lt;P&gt;In a nutshell, I'm expecting:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;X:\Projects\Project1\blankProject.aprx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but what I'm getting is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;X:\Projects\Project1\p20\blankProject.aprx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 20:03:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044838#M60706</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2021-04-07T20:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: What is the p20 folder</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044850#M60707</link>
      <description>&lt;P&gt;This is by design. Whether you extract a Project Package/Template using an&amp;nbsp;&lt;SPAN&gt;arcpy.ExtractPackage_management()&amp;nbsp;&lt;/SPAN&gt;function or the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/extract-package.htm" target="_self"&gt;Extract Package&lt;/A&gt; GP Tool, the data gets extracted inside the subfolder ...&lt;EM&gt;&lt;STRONG&gt;\p20&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 20:34:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044850#M60707</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-04-07T20:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is the p20 folder</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044858#M60708</link>
      <description>&lt;P&gt;Ok. Thanks Jayanta. I find that interesting... but good to know. Now when I deploy my Pro toolbox (which replaces a ArcMap toolbox) I can tell the endusers that the p20 folder is there by Esri's design. I wonder if it works like this in ArcMap? My toolbox in ArcMap doesn't use ExtractPackage so I can't say.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 20:58:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044858#M60708</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2021-04-07T20:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: What is the p20 folder</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044872#M60709</link>
      <description>&lt;P&gt;Project Package/ Project Template only applies for ArcGIS Pro. &lt;A href="https://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/extract-package.htm" target="_self"&gt;Extract Package&lt;/A&gt; in ArcMap doesn't work with Project Packages/Templates.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 21:27:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1044872#M60709</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-04-07T21:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: What is the p20 folder</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1297787#M67920</link>
      <description>&lt;P&gt;To add to Jayanta's previous answer the p20 represents ArcGIS Pro 2.x You will also find a p30 folder kicking around if you are using 3.x now. Just adding this in for the next person that has this same question. All the best and Happy Mapping!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 02:44:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1297787#M67920</guid>
      <dc:creator>CliffordDRutledge</dc:creator>
      <dc:date>2023-06-10T02:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: What is the p20 folder</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1380304#M69821</link>
      <description>&lt;P&gt;It would be great if Esri could make this extraction type optional. Choices for "All Pro Versions" (current behavior) or "Current Pro Version" (same directory structure as original project) would work great. This would save folks the trouble of needing to explain to others they are sharing the package with what folder to use. Explanation is almost certainly necessary... "p20" and "p30" are not intuitive IMHO.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 14:29:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1380304#M69821</guid>
      <dc:creator>Jeff-Reinhart</dc:creator>
      <dc:date>2024-02-09T14:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: What is the p20 folder</title>
      <link>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1565508#M73285</link>
      <description>&lt;P&gt;Instead of using the Share As Layer Package option, instead use the&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/3.3/tool-reference/data-management/package-layer.htm" target="_blank"&gt;Package Layer (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;geoprocessing tool. That tool includes the option to choose which versions you want to include, as well as an option to convert data to file geodatabase, include only data within a specific extent, etc.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alex_at_Exprodat_0-1733484036081.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121013i6048860287D2A604/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alex_at_Exprodat_0-1733484036081.png" alt="Alex_at_Exprodat_0-1733484036081.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As explained by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/537085"&gt;@CliffordDRutledge&lt;/a&gt;&amp;nbsp;above, package versions will include a p20 folder for Pro 2.x and p30 folder for Pro 3.x.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 11:24:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-the-p20-folder/m-p/1565508#M73285</guid>
      <dc:creator>Alex_at_Exprodat</dc:creator>
      <dc:date>2024-12-06T11:24:40Z</dc:date>
    </item>
  </channel>
</rss>

