<?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: Export to Python file from Notebook in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1330036#M73204</link>
    <description>&lt;P&gt;I have the same problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you let me know how you solved the problem?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 09:50:02 GMT</pubDate>
    <dc:creator>HeeJinYang</dc:creator>
    <dc:date>2023-09-19T09:50:02Z</dc:date>
    <item>
      <title>Export to Python file from Notebook</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1308457#M71163</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running ArcGIS Pro 3.1.2 and working in a Python Notebook. I have several working cells and am trying to export them to a Python script (Export &amp;gt; Export to Python file). However, when I do this, I get the error "Export failed" with no further info.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice would be appreciated.&lt;/P&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2023 14:58:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1308457#M71163</guid>
      <dc:creator>JohnMorgan</dc:creator>
      <dc:date>2023-07-16T14:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Python file from Notebook</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1308670#M71164</link>
      <description>&lt;P&gt;Hey Derek,&lt;/P&gt;&lt;P&gt;Would it be possible to get a copy of your notebook so that it can be tested on a different environment.&lt;/P&gt;&lt;P&gt;It would also be worth copying the cells into a new .py file and checking if this works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 16:28:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1308670#M71164</guid>
      <dc:creator>David_McRitchie</dc:creator>
      <dc:date>2023-07-17T16:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Python file from Notebook</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1310367#M71285</link>
      <description>&lt;P&gt;My guess, there are spaces in the filename and/or file path.&amp;nbsp; Test exporting to "c:\temp\mycode.py".&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2023 18:50:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1310367#M71285</guid>
      <dc:creator>MicZatorsky_AEC</dc:creator>
      <dc:date>2023-07-23T18:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Python file from Notebook</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1310560#M71307</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have a space in the file name, but I did find a workaround for now. It would be nice to sort out why it isn't working, but perhaps it's just something w/ my installation.&amp;nbsp; David, for an attached notebook, but it won't let me attach that type of file to this message board.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 16:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1310560#M71307</guid>
      <dc:creator>JohnMorgan</dc:creator>
      <dc:date>2023-07-21T16:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Python file from Notebook</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1311564#M71406</link>
      <description>&lt;P&gt;Ah would it be possible to set up a shared folder for the notebook? If not then please message me your email and I can set one up.&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 15:48:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1311564#M71406</guid>
      <dc:creator>David_McRitchie</dc:creator>
      <dc:date>2023-07-25T15:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Python file from Notebook</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1330036#M73204</link>
      <description>&lt;P&gt;I have the same problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you let me know how you solved the problem?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 09:50:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1330036#M73204</guid>
      <dc:creator>HeeJinYang</dc:creator>
      <dc:date>2023-09-19T09:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Python file from Notebook</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1330216#M73224</link>
      <description>&lt;P&gt;It has been a while since I looked at this. But, I do recall the workaround of using the command line of &lt;EM&gt;nbconvert&lt;/EM&gt; as described here.&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/17077494/how-do-i-convert-a-ipython-notebook-into-a-python-file-via-commandline" target="_blank"&gt;https://stackoverflow.com/questions/17077494/how-do-i-convert-a-ipython-notebook-into-a-python-file-via-commandline&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb&lt;/P&gt;&lt;P&gt;Ideally, it would just work straight out of ArcGIS though.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 16:01:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1330216#M73224</guid>
      <dc:creator>JohnMorgan</dc:creator>
      <dc:date>2023-09-19T16:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Python file from Notebook</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1665391#M100096</link>
      <description>&lt;P&gt;Dear John, I faced exactly the same issue. What I did was to, open the arcpy notebook file (.pynb) in Jupyter notebook and export/save as to an executable script (.py). It worked from there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 09:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/export-to-python-file-from-notebook/m-p/1665391#M100096</guid>
      <dc:creator>BENROLLINCELECHINDEMEFUETNGWOA</dc:creator>
      <dc:date>2025-11-13T09:54:12Z</dc:date>
    </item>
  </channel>
</rss>

