<?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 Embedded Python Code Disappearing in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/embedded-python-code-disappearing/m-p/1548859#M89179</link>
    <description>&lt;P&gt;Does anyone know why the code in my python script tools is sometimes replaced by the filepath to the file that holds embedded code when it is being edited? 'Execution' used to hold a whole bunch of code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Randy McGregor&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RandyMcGregor_BMcD_0-1729028169723.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117291i6153082C4263C41C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RandyMcGregor_BMcD_0-1729028169723.png" alt="RandyMcGregor_BMcD_0-1729028169723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2024 21:39:25 GMT</pubDate>
    <dc:creator>RandyMcGregor_BMcD</dc:creator>
    <dc:date>2024-10-15T21:39:25Z</dc:date>
    <item>
      <title>Embedded Python Code Disappearing</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/embedded-python-code-disappearing/m-p/1548859#M89179</link>
      <description>&lt;P&gt;Does anyone know why the code in my python script tools is sometimes replaced by the filepath to the file that holds embedded code when it is being edited? 'Execution' used to hold a whole bunch of code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Randy McGregor&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RandyMcGregor_BMcD_0-1729028169723.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117291i6153082C4263C41C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RandyMcGregor_BMcD_0-1729028169723.png" alt="RandyMcGregor_BMcD_0-1729028169723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 21:39:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/embedded-python-code-disappearing/m-p/1548859#M89179</guid>
      <dc:creator>RandyMcGregor_BMcD</dc:creator>
      <dc:date>2024-10-15T21:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded Python Code Disappearing</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/embedded-python-code-disappearing/m-p/1548887#M89180</link>
      <description>&lt;P&gt;You are using an external editor?&lt;/P&gt;&lt;P&gt;Does the code not reappear when you are done editing, save the edits, close the editor and refresh the toolbox? (may require closing and reopening the toolbox)&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 00:17:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/embedded-python-code-disappearing/m-p/1548887#M89180</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-10-16T00:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded Python Code Disappearing</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/embedded-python-code-disappearing/m-p/1548952#M89188</link>
      <description>&lt;P&gt;When I see that filepath, it's over. The code's gone. Can't get it back. I do have a *.py file saved and I used it to reconstitute the code. Using Idle for 3.0. But sometimes I edit right within the properties 'Execution' window. Keeps happening. I'm going to go old-school and have a separate *.py file feed the script. I have had this issue with embedded scripts periodically. It is truly distressing when you don't have a backup.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 12:10:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/embedded-python-code-disappearing/m-p/1548952#M89188</guid>
      <dc:creator>RandyMcGregor_BMcD</dc:creator>
      <dc:date>2024-10-16T12:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded Python Code Disappearing</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/embedded-python-code-disappearing/m-p/1549868#M89260</link>
      <description>&lt;P&gt;I decided to go with the separate *.py file, which is fine and is what I've done for years. The code is not disappearing anymore. I have noticed that if you are not careful and have more than one 'embedded code' window open, that can create (understandable) confusion which can result in the code being replaced by the path to the temporary file. That's not what happened here, BTW. Embedded code for Python tools just seems to be a bit flakey. This could be a bug?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 11:56:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/embedded-python-code-disappearing/m-p/1549868#M89260</guid>
      <dc:creator>RandyMcGregor_BMcD</dc:creator>
      <dc:date>2024-10-18T11:56:57Z</dc:date>
    </item>
  </channel>
</rss>

