<?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: Help w/ py code (just a correction) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173492#M13384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Dan says, without proper formatting, it is very hard to tell.&lt;/P&gt;&lt;P&gt;But what is your select clause supposed to be doing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="bagg1-0-0" style="color: #1d2129; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="bagg1-0-0" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# add another point to the selecition&lt;/SPAN&gt;


w_clause &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'"%s" &amp;lt; %s'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;%&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sort_field&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; i &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;# e.g. OBJECTID &amp;lt; 1, OBJECTID &amp;lt; 2, ...&lt;/SPAN&gt;


arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;management&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SelectLayerByAttribute&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;in_points_lyr&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"NEW_SELECTION"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; w_clause&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other thing is, have you considered just running this as a plain python script before you turn it into a script tool, with all the extra that entails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 08:58:34 GMT</pubDate>
    <dc:creator>NeilAyres</dc:creator>
    <dc:date>2021-12-11T08:58:34Z</dc:date>
    <item>
      <title>Help w/ py code (just a correction)</title>
      <link>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173490#M13382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="dthiu-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="dthiu-0-0"&gt;&lt;SPAN data-offset-key="dthiu-0-0"&gt;I need some help to correct a bug on this simple py code.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="dp0u0-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="dp0u0-0-0"&gt;&lt;SPAN data-offset-key="dp0u0-0-0"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I have been using it w/ no problem since I up graded ArcGIS Desktop from 10.3 to 10.4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="2ggq5-0-0" style="color: #1d2129; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="een02-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="een02-0-0"&gt;&lt;SPAN data-offset-key="een02-0-0"&gt;# The code below adds one point at a time to a selection and&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="b54ea-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="b54ea-0-0"&gt;&lt;SPAN data-offset-key="b54ea-0-0"&gt;# calculates area of convex hull of the selection.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="dhumk-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="dhumk-0-0"&gt;&lt;SPAN data-offset-key="dhumk-0-0"&gt;# Output is a text file (or table) with with two columns.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="7ikh2-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="7ikh2-0-0"&gt;&lt;SPAN data-offset-key="7ikh2-0-0"&gt;# First column holds number of points selected,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="c7heu-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="c7heu-0-0"&gt;&lt;SPAN data-offset-key="c7heu-0-0"&gt;# second column holds total area of the hull.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="i418-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="i418-0-0"&gt;&lt;SPAN data-offset-key="i418-0-0"&gt;# Provided you want to use all points in the feature class.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="7bfir-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="7bfir-0-0"&gt;&lt;SPAN data-offset-key="7bfir-0-0"&gt;# I recommend you use square metres to get the area and do&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="ejs3l-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="ejs3l-0-0"&gt;&lt;SPAN data-offset-key="ejs3l-0-0"&gt;# the conversion yourself if you need to. If square metres&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="4ge21-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="4ge21-0-0"&gt;&lt;SPAN data-offset-key="4ge21-0-0"&gt;# result in too large numbers, use square kilmetres.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="bq7qe-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="bq7qe-0-0"&gt;&lt;SPAN data-offset-key="bq7qe-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="22ftd-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="22ftd-0-0"&gt;&lt;SPAN data-offset-key="22ftd-0-0"&gt;import arcpy&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="6mrdu-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="6mrdu-0-0"&gt;&lt;SPAN data-offset-key="6mrdu-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="b4v5j-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="b4v5j-0-0"&gt;&lt;SPAN data-offset-key="b4v5j-0-0"&gt;# PARAMETERS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="7733i-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="7733i-0-0"&gt;&lt;SPAN data-offset-key="7733i-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="e6sqo-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="e6sqo-0-0"&gt;&lt;SPAN data-offset-key="e6sqo-0-0"&gt;in_points = arcpy.GetParameterAsText(0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="bm28g-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="bm28g-0-0"&gt;&lt;SPAN data-offset-key="bm28g-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="1u5tc-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="1u5tc-0-0"&gt;&lt;SPAN data-offset-key="1u5tc-0-0"&gt;# column indicating in what order to add points to the curve&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="bnrts-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="bnrts-0-0"&gt;&lt;SPAN data-offset-key="bnrts-0-0"&gt;# should be integers from 1 to N by 1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="bn8qr-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="bn8qr-0-0"&gt;&lt;SPAN data-offset-key="bn8qr-0-0"&gt;sort_field = 'OBJECTID'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="d5m7p-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="d5m7p-0-0"&gt;&lt;SPAN data-offset-key="d5m7p-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="8bbuc-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="8bbuc-0-0"&gt;&lt;SPAN data-offset-key="8bbuc-0-0"&gt;out_results = arcpy.GetParameterAsText(1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="4vd8m-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="4vd8m-0-0"&gt;&lt;SPAN data-offset-key="4vd8m-0-0"&gt;out_delim = ","&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="a9cjh-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="a9cjh-0-0"&gt;&lt;SPAN data-offset-key="a9cjh-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="fvuu4-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="fvuu4-0-0"&gt;&lt;SPAN data-offset-key="fvuu4-0-0"&gt;# we need to store the hull temporarily;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="d5gcc-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="d5gcc-0-0"&gt;&lt;SPAN data-offset-key="d5gcc-0-0"&gt;# there are more ways how to deal with intermediate data, this is a simple one&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="2fe6n-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="2fe6n-0-0"&gt;&lt;SPAN data-offset-key="2fe6n-0-0"&gt;arcpy.env.overwriteOutput = True&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="chvf3-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="chvf3-0-0"&gt;&lt;SPAN data-offset-key="chvf3-0-0"&gt;tmp_hull = arcpy.GetParameterAsText(2)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="dihbu-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="dihbu-0-0"&gt;&lt;SPAN data-offset-key="dihbu-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="6aspj-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="6aspj-0-0"&gt;&lt;SPAN data-offset-key="6aspj-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="676ll-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="676ll-0-0"&gt;&lt;SPAN data-offset-key="676ll-0-0"&gt;# WORK&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="6pl8l-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="6pl8l-0-0"&gt;&lt;SPAN data-offset-key="6pl8l-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="5ufja-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="5ufja-0-0"&gt;&lt;SPAN data-offset-key="5ufja-0-0"&gt;# write header for result file&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="loid-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="loid-0-0"&gt;&lt;SPAN data-offset-key="loid-0-0"&gt;with open(out_results, "w") as fl:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="8hcgu-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="8hcgu-0-0"&gt;&lt;SPAN data-offset-key="8hcgu-0-0"&gt; header = out_delim.join(("PT_COUNT", "M_SQ"))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="5a2t9-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="5a2t9-0-0"&gt;&lt;SPAN data-offset-key="5a2t9-0-0"&gt; fl.write(header + "\n")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="9ccvt-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="9ccvt-0-0"&gt;&lt;SPAN data-offset-key="9ccvt-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="16vs6-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="16vs6-0-0"&gt;&lt;SPAN data-offset-key="16vs6-0-0"&gt;# total number of points&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="cgqum-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="cgqum-0-0"&gt;&lt;SPAN data-offset-key="cgqum-0-0"&gt;n = int(arcpy.GetCount_management(in_points).getOutput(0))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="384k9-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="384k9-0-0"&gt;&lt;SPAN data-offset-key="384k9-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="48hg5-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="48hg5-0-0"&gt;&lt;SPAN data-offset-key="48hg5-0-0"&gt;# we need a feature layer in order to make quick selections&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="4tb2u-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="4tb2u-0-0"&gt;&lt;SPAN data-offset-key="4tb2u-0-0"&gt;in_points_lyr = arcpy.management.MakeFeatureLayer(in_points, "points").getOutput(0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="blaju-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="blaju-0-0"&gt;&lt;SPAN data-offset-key="blaju-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="6hv5e-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="6hv5e-0-0"&gt;&lt;SPAN data-offset-key="6hv5e-0-0"&gt;for i in range(n):&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="eg72v-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="eg72v-0-0"&gt;&lt;SPAN data-offset-key="eg72v-0-0"&gt; print i&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="bagg1-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="bagg1-0-0"&gt;&lt;SPAN data-offset-key="bagg1-0-0"&gt; # add another point to the selecition&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="f5t9a-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="f5t9a-0-0"&gt;&lt;SPAN data-offset-key="f5t9a-0-0"&gt; w_clause = '"%s" &amp;lt; %s' % (sort_field, i + 1) # e.g. OBJECTID &amp;lt; 1, OBJECTID &amp;lt; 2, ...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="ded8u-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="ded8u-0-0"&gt;&lt;SPAN data-offset-key="ded8u-0-0"&gt; arcpy.management.SelectLayerByAttribute(in_points_lyr, "NEW_SELECTION", w_clause)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="3g2o-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="3g2o-0-0"&gt;&lt;SPAN data-offset-key="3g2o-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="e179s-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="e179s-0-0"&gt;&lt;SPAN data-offset-key="e179s-0-0"&gt; # counstruct convex hull&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="5k0en-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="5k0en-0-0"&gt;&lt;SPAN data-offset-key="5k0en-0-0"&gt; hull = arcpy.management.MinimumBoundingGeometry(in_points_lyr, tmp_hull, "CONVEX_HULL", "ALL").getOutput(0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="eqge-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="eqge-0-0"&gt;&lt;SPAN data-offset-key="eqge-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="anlql-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="anlql-0-0"&gt;&lt;SPAN data-offset-key="anlql-0-0"&gt; # get the area of the convex hull&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="e7koo-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="e7koo-0-0"&gt;&lt;SPAN data-offset-key="e7koo-0-0"&gt; # (if you coordinate system units are metres)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="4p6rj-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="4p6rj-0-0"&gt;&lt;SPAN data-offset-key="4p6rj-0-0"&gt; ara = 0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="11hut-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="11hut-0-0"&gt;&lt;SPAN data-offset-key="11hut-0-0"&gt; with arcpy.da.SearchCursor(hull, ["SHAPE@AREA"]) as sc:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="5cov1-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="5cov1-0-0"&gt;&lt;SPAN data-offset-key="5cov1-0-0"&gt; for row in sc:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="748j8-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="748j8-0-0"&gt;&lt;SPAN data-offset-key="748j8-0-0"&gt; ara += row[0] # should be just one row anyway&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="c3p1o-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="c3p1o-0-0"&gt;&lt;SPAN data-offset-key="c3p1o-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="dco9c-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="dco9c-0-0"&gt;&lt;SPAN data-offset-key="dco9c-0-0"&gt; # write results for i into the result file&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="47rgr-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="47rgr-0-0"&gt;&lt;SPAN data-offset-key="47rgr-0-0"&gt; with open(out_results, "a") as fl:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="1jrm9-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="1jrm9-0-0"&gt;&lt;SPAN data-offset-key="1jrm9-0-0"&gt; result = out_delim.join((str(i + 1), str(ara)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="37era-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="37era-0-0"&gt;&lt;SPAN data-offset-key="37era-0-0"&gt; fl.write(result + "\n")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="47lot-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="47lot-0-0"&gt;&lt;SPAN data-offset-key="47lot-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="d2td7-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="d2td7-0-0"&gt;&lt;SPAN data-offset-key="d2td7-0-0"&gt;print("Script completed.")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="dr66d-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="dr66d-0-0"&gt;&lt;SPAN data-offset-key="dr66d-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="7er03-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="7er03-0-0"&gt;&lt;SPAN data-offset-key="7er03-0-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="8jthq-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="8jthq-0-0"&gt;&lt;SPAN data-offset-key="8jthq-0-0"&gt;That's the&amp;nbsp;error message!!!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="6soir-0-0" style="color: #1d2129; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="6soir-0-0"&gt; &lt;/DIV&gt;&lt;DIV class="" data-offset-key="6soir-0-0"&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/259902_Captura de Tela 2016-11-08 às 15.18.46.png" style="width: 620px; height: 129px;" /&gt;&lt;/DIV&gt;&lt;DIV class="" data-offset-key="6soir-0-0"&gt; &lt;/DIV&gt;&lt;DIV class="" data-offset-key="6soir-0-0"&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 17:42:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173490#M13382</guid>
      <dc:creator>RafaelRuas_Martins</dc:creator>
      <dc:date>2016-11-08T17:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/ py code (just a correction)</title>
      <link>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173491#M13383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rafael, you will have to format your code so it is readable&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2016/08/14/script-formatting"&gt;/blogs/dan_patterson/2016/08/14/script-formatting&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 18:37:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173491#M13383</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-11-08T18:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/ py code (just a correction)</title>
      <link>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173492#M13384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Dan says, without proper formatting, it is very hard to tell.&lt;/P&gt;&lt;P&gt;But what is your select clause supposed to be doing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" data-block="true" data-editor="8ptg8" data-offset-key="bagg1-0-0" style="color: #1d2129; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;DIV class="" data-offset-key="bagg1-0-0" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# add another point to the selecition&lt;/SPAN&gt;


w_clause &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'"%s" &amp;lt; %s'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;%&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sort_field&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; i &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;# e.g. OBJECTID &amp;lt; 1, OBJECTID &amp;lt; 2, ...&lt;/SPAN&gt;


arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;management&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SelectLayerByAttribute&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;in_points_lyr&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"NEW_SELECTION"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; w_clause&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other thing is, have you considered just running this as a plain python script before you turn it into a script tool, with all the extra that entails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:58:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173492#M13384</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2021-12-11T08:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/ py code (just a correction)</title>
      <link>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173493#M13385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-functions/addfielddelimiters.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;AddFieldDelimiters&lt;/A&gt; to handle the quotes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; fc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'points'&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; sort_field &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'FID'&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; w_clause &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;AddFieldDelimiters&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sort_field&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;' &amp;lt; '&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; str&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;5&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;# or str(i+1)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SelectLayerByAttribute_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"NEW_SELECTION"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;w_clause&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:58:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173493#M13385</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-11T08:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/ py code (just a correction)</title>
      <link>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173494#M13386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;The problem is&amp;nbsp;the variable SORT FIELD = "OBJECTID" and the data had no OBJECTID field. It had OID field.&lt;/P&gt;&lt;P&gt;It's quite simple. I&amp;nbsp;am a rookie&amp;nbsp;in Python.&lt;/P&gt;&lt;P&gt;Next time, I will post the sample code as Dan Patterson and Neil Ayres suggested.&lt;/P&gt;&lt;P&gt;Thanks all!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 23:44:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173494#M13386</guid>
      <dc:creator>RafaelRuas_Martins</dc:creator>
      <dc:date>2016-11-08T23:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/ py code (just a correction)</title>
      <link>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173495#M13387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rafael...&lt;/P&gt;&lt;P&gt;Shapefiles will have a FID and generally an OID field, the first is required, the 2nd is sometimes generated.&lt;/P&gt;&lt;P&gt;Geodatabase featureclasses will have the OBJECTID field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 23:49:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173495#M13387</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-11-08T23:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/ py code (just a correction)</title>
      <link>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173496#M13388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad you figured it out. If you want to save yourself this headache in the future, you can get the unique ID field dynamically like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; fc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'myFeatureLayer'&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Describe&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;OIDFieldName
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; 
FID&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-w-py-code-just-a-correction/m-p/173496#M13388</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-11T08:58:40Z</dc:date>
    </item>
  </channel>
</rss>

