<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Diogo Rosanelli</title>
    <description>The latest articles on DEV Community by Diogo Rosanelli (@diogorosanelli).</description>
    <link>https://dev.to/diogorosanelli</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F350667%2F350f15fd-49b3-44c0-80f7-08414781ae5e.jpg</url>
      <title>DEV Community: Diogo Rosanelli</title>
      <link>https://dev.to/diogorosanelli</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/diogorosanelli"/>
    <language>en</language>
    <item>
      <title>ArcGIS Toolbox Reload</title>
      <dc:creator>Diogo Rosanelli</dc:creator>
      <pubDate>Mon, 08 Apr 2024 00:10:36 +0000</pubDate>
      <link>https://dev.to/diogorosanelli/arcgis-toolbox-reload-op1</link>
      <guid>https://dev.to/diogorosanelli/arcgis-toolbox-reload-op1</guid>
      <description>&lt;p&gt;If you are a developer in the ArcGIS universe, have you ever had to develop a tool using a Python Toolbox (.pyt), and came across a problem: when updating the source code of your tool, you had to close ArcGIS Pro and open it again for the updates to be made.&lt;/p&gt;

&lt;p&gt;The ArcGIS environment uses the compiled version of Python codes (.pyc), and therefore references need to be reloaded explicitly within the source code, and you can do this through the importlib library that reloads the reference for your module, and it is then updated without that you may need to restart ArcGIS Pro to test changes to your code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ygf3cqitq3x0t22vfs3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ygf3cqitq3x0t22vfs3.png" alt="Image description" width="548" height="310"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Have you ever experienced this situation? What do you think of this resource? Did you already know this code tip? Leave a comment...&lt;/p&gt;

&lt;h1&gt;
  
  
  DEV #PYTHON #ARCGIS #ESRI #RELOAD #MODULE #PYT #PYC #TOOLBOX
&lt;/h1&gt;

</description>
      <category>python</category>
      <category>arcgis</category>
      <category>module</category>
      <category>toolbox</category>
    </item>
  </channel>
</rss>
