<?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 Can't use &amp;quot;memory&amp;quot; workspace in Python 3.6 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/can-t-use-quot-memory-quot-workspace-in-python-3-6/m-p/632421#M49280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to speed up an automation script using memory workspaces. When I use "memory\feature_class", it returns that it can't use that workspace. However, "in_memory\feature_class" works exactly like I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Python 3.6 and ArcPro 2.4.2. My IDE recognizes the new format of ArcPy commands, as well. I don't know why it will only recognize the older memory workspace type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Oct 2019 13:35:12 GMT</pubDate>
    <dc:creator>JakeJohnson</dc:creator>
    <dc:date>2019-10-11T13:35:12Z</dc:date>
    <item>
      <title>Can't use "memory" workspace in Python 3.6</title>
      <link>https://community.esri.com/t5/python-questions/can-t-use-quot-memory-quot-workspace-in-python-3-6/m-p/632421#M49280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to speed up an automation script using memory workspaces. When I use "memory\feature_class", it returns that it can't use that workspace. However, "in_memory\feature_class" works exactly like I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Python 3.6 and ArcPro 2.4.2. My IDE recognizes the new format of ArcPy commands, as well. I don't know why it will only recognize the older memory workspace type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 13:35:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-use-quot-memory-quot-workspace-in-python-3-6/m-p/632421#M49280</guid>
      <dc:creator>JakeJohnson</dc:creator>
      <dc:date>2019-10-11T13:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use "memory" workspace in Python 3.6</title>
      <link>https://community.esri.com/t5/python-questions/can-t-use-quot-memory-quot-workspace-in-python-3-6/m-p/632422#M49281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give an example of your use with a specific tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 17:34:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-use-quot-memory-quot-workspace-in-python-3-6/m-p/632422#M49281</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-10-11T17:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use "memory" workspace in Python 3.6</title>
      <link>https://community.esri.com/t5/python-questions/can-t-use-quot-memory-quot-workspace-in-python-3-6/m-p/632423#M49282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/basics/the-in-memory-workspace.htm" title="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/basics/the-in-memory-workspace.htm"&gt;Write geoprocessing output to memory—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #4c4c4c; font-family: 'Avenir Next W01','Avenir Next W00','Avenir Next','Avenir','Helvetica Neue',sans-serif; font-size: 17px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Use of memory-based workspaces in a Python is only valid for geoprocessing tools. Memory is not a general-purpose virtual directory where you can write files or other data.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So that could be a limitation in your workflow&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 18:18:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-use-quot-memory-quot-workspace-in-python-3-6/m-p/632423#M49282</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-10-11T18:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use "memory" workspace in Python 3.6</title>
      <link>https://community.esri.com/t5/python-questions/can-t-use-quot-memory-quot-workspace-in-python-3-6/m-p/632424#M49283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, completely forgot about that limitation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 12:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-use-quot-memory-quot-workspace-in-python-3-6/m-p/632424#M49283</guid>
      <dc:creator>JakeJohnson</dc:creator>
      <dc:date>2019-10-15T12:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use "memory" workspace in Python 3.6</title>
      <link>https://community.esri.com/t5/python-questions/can-t-use-quot-memory-quot-workspace-in-python-3-6/m-p/1095479#M62244</link>
      <description>&lt;P&gt;Not even all gp tools work with memory workspaces. Like try to do it with arcpy.conversion.WFStoFeatureClass. Instead of writing it to memory\somefc, it writes it to disk as memory.gdb\somefc&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 22:48:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-use-quot-memory-quot-workspace-in-python-3-6/m-p/1095479#M62244</guid>
      <dc:creator>alex_friant</dc:creator>
      <dc:date>2021-09-03T22:48:17Z</dc:date>
    </item>
  </channel>
</rss>

