<?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: ArcGISPro Python toolbox problem with module.py cache copy problem in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45090#M1885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Evening Dan&lt;/P&gt;&lt;P&gt;thanks so much for the reload tip.&amp;nbsp; I will give it a spin and let you know if it works at my end.&amp;nbsp; Keeping the python code in their natural modules has to be a good thing.&amp;nbsp; A big bucket of pyt is hardly setting a good standard for future scripts.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I like the direction ESRI is taking on python, it still looks very much like a work in progress.&amp;nbsp; Using a decent IDE + debugger like VSCode would make developing scripts about ten times quicker and the resulting script would be more robust.&lt;/P&gt;&lt;P&gt;One day...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Oct 2018 12:44:31 GMT</pubDate>
    <dc:creator>PaulKennedy1</dc:creator>
    <dc:date>2018-10-28T12:44:31Z</dc:date>
    <item>
      <title>ArcGISPro Python toolbox problem with module.py cache copy problem</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45084#M1879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Afternoon,&lt;/P&gt;&lt;P&gt;I am developing a toolbox for arcgispro 2.2.3.&lt;/P&gt;&lt;P&gt;I have the regular template .pyt file, and&amp;nbsp; import a regular module.py file which contains my custom code.&amp;nbsp; I can run the script just fine in arcgispro geoprocessing facility.&lt;/P&gt;&lt;P&gt;If I then modify the .py file, I then refresh in pro.&amp;nbsp; The pyt flie appears to be refreshed, but NOT the .py file.&amp;nbsp; The only way I can get pro to re-read the .py file is to close arcgis and re-open it again.&amp;nbsp; It then reads the py file.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would appear that pro holds a copy of the toolbox in a different folder to the folder I am editing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I put ALL my code into the pyt file it is ok, but that is very poor programming practise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;P&gt;pk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #af00db;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; arcpy&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #af00db;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; surveyestimator&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #af00db;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; geodetic&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #af00db;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; math&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;VERSION &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;"1.0"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #267f99;"&gt;Toolbox&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #267f99;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;def&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #795e26;"&gt;__init__&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #001080;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;"""Define the toolbox (the name of the toolbox is the name of the .pyt file)."""&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.label &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;"Toolbox"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.alias &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;""&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;# List of tool classes associated with this toolbox&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.tools &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; [SurveyEstimatorTool]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="background-color: #ffffff; font-weight: normal;"&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;def&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #795e26;"&gt;execute&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #001080;"&gt;self&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #001080;"&gt;parameters&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #001080;"&gt;messages&lt;/SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;"""Compute a survey line plan from a selected polygon in the input featureclass."""&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt; arcpy.AddMessage (&lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;"GG Survey Estimator : &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;%s&lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt; "&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;%&lt;/SPAN&gt;&lt;SPAN&gt; (VERSION))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; sse &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; surveyestimator.surveyEstimator()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; sse.compute(parameters)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 10:43:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45084#M1879</guid>
      <dc:creator>PaulKennedy1</dc:creator>
      <dc:date>2018-10-25T10:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISPro Python toolbox problem with module.py cache copy problem</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45085#M1880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Evening,&lt;/P&gt;&lt;P&gt;would appreciate if anyone has any thoughts on this.&amp;nbsp; I am rather stuck right now.&amp;nbsp; I would prefer to not have all my code in the .pyt file.&amp;nbsp; It feels really dodgy and amateurish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 14:07:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45085#M1880</guid>
      <dc:creator>PaulKennedy1</dc:creator>
      <dc:date>2018-10-26T14:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISPro Python toolbox problem with module.py cache copy problem</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45086#M1881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a particular reason that you are using a pyt?&lt;/P&gt;&lt;P&gt;Is it for a particular functionality that they offer that custom toolboxes don't&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/geoprocessing_and_python/comparing-custom-and-python-toolboxes.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/geoprocessing_and_python/comparing-custom-and-python-toolboxes.htm"&gt;Comparing custom and Python toolboxes—Geoprocessing and Python | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;editing and debugging info is in the link.&lt;/P&gt;&lt;P&gt;I haven't found a use case for pyt over custom yet, so I am curious, since I find editing easy and the toolbox behaves as expected after edits are complete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 18:41:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45086#M1881</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-10-26T18:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISPro Python toolbox problem with module.py cache copy problem</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45087#M1882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No particular reason.&amp;nbsp; &amp;nbsp;was using a PYT as the guidance was that python is the future path and as I am a python guy, I thought it was a good fit.&lt;/P&gt;&lt;P&gt;If the custom toolbox re-scans a regular .py file, I would be happy to migrate over.&amp;nbsp; Do you know if that is the case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2018 07:34:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45087#M1882</guid>
      <dc:creator>PaulKennedy1</dc:creator>
      <dc:date>2018-10-28T07:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISPro Python toolbox problem with module.py cache copy problem</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45088#M1883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul, I have been using python 3 for years and to re-import/re-load an imported module you can include&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.python.org/3/library/importlib.html#importlib.reload" title="https://docs.python.org/3/library/importlib.html#importlib.reload"&gt;importlib — The implementation of import — Python 3.7.1 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SO site has a good example&amp;nbsp;&lt;A class="link-titled" href="https://stackoverflow.com/questions/437589/how-do-i-unload-reload-a-python-module" title="https://stackoverflow.com/questions/437589/how-do-i-unload-reload-a-python-module"&gt;How do I unload (reload) a Python module? - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can put this in your main script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: border-box; color: #101094; font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif; font-size: 13px; font-size-adjust: none; font-stretch: 100%; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 16.9px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #101094;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: border-box; color: #303336; font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif; font-size: 13px; font-size-adjust: none; font-stretch: 100%; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 16.9px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #303336;"&gt; importlib &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: border-box; color: #101094; font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif; font-size: 13px; font-size-adjust: none; font-stretch: 100%; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 16.9px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #101094;"&gt;import&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: border-box; color: #303336; font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif; font-size: 13px; font-size-adjust: none; font-stretch: 100%; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 16.9px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #303336;"&gt; reload&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; box-sizing: border-box; color: #101094; font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif; font-size: 13px; font-size-adjust: none; font-stretch: 100%; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 16.9px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #101094;"&gt;import yourmodule&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can have a line which you comment/uncomment while testing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# &lt;SPAN style="color: #000014; font-size: small; font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif;"&gt;reload(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #101094; font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif; font-size: 13px; font-size-adjust: none; font-stretch: 100%; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 16.9px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;yourmodule) # uncomment for testing&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use Spyder as my python IDE so you can skip all that by setting Spyder to use complete re-imports by default to ensure that changes are detected in the imported module by the main module.&amp;nbsp; I do find uncommenting/commenting out the reload line just as easy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2018/01/28/spyder"&gt;/blogs/dan_patterson/2018/01/28/spyder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For python 2, it is simply a builtin function&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.python.org/2/library/functions.html" title="https://docs.python.org/2/library/functions.html"&gt;2. Built-in Functions — Python 2.7.15 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.python.org/2/library/functions.html#reload"&gt;reload in python 2.7&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2018 10:52:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45088#M1883</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-10-28T10:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISPro Python toolbox problem with module.py cache copy problem</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45089#M1884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did a blog or two on simple toolbox/tool creation and script documentation for use in Pro which might be of use.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2016/05/19/toolbox-creation-in-arcgis-pro"&gt;/blogs/dan_patterson/2016/05/19/toolbox-creation-in-arcgis-pro&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2018/03/27/script-documenting-it-is-all-in-the-docs"&gt;/blogs/dan_patterson/2018/03/27/script-documenting-it-is-all-in-the-docs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The use case for custom vs python tools is in the link above... so it is a 'you decide' but I haven't found a good one for pyt's yet.&amp;nbsp; Until you can use qt or some other dialog creator with arc* products, I tend to use the 'wizard' approach in the custom toolbox since you can screengrab your parameters settings for documentation so you have a visual record&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2018 10:58:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45089#M1884</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-10-28T10:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISPro Python toolbox problem with module.py cache copy problem</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45090#M1885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Evening Dan&lt;/P&gt;&lt;P&gt;thanks so much for the reload tip.&amp;nbsp; I will give it a spin and let you know if it works at my end.&amp;nbsp; Keeping the python code in their natural modules has to be a good thing.&amp;nbsp; A big bucket of pyt is hardly setting a good standard for future scripts.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I like the direction ESRI is taking on python, it still looks very much like a work in progress.&amp;nbsp; Using a decent IDE + debugger like VSCode would make developing scripts about ten times quicker and the resulting script would be more robust.&lt;/P&gt;&lt;P&gt;One day...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2018 12:44:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgispro-python-toolbox-problem-with-module-py/m-p/45090#M1885</guid>
      <dc:creator>PaulKennedy1</dc:creator>
      <dc:date>2018-10-28T12:44:31Z</dc:date>
    </item>
  </channel>
</rss>

