<?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: If/Else Statement Field Calculator in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/if-else-statement-field-calculator/m-p/545150#M42512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you've really got two field calcs here:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The IF statement to make the two letter codes&lt;/LI&gt;&lt;LI&gt;The long concatenation expression&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how those two letter codes fit in to the concatenation expression. &lt;A href="http://resources.arcgis.com/en/help/main/10.2/0017/00170000004m000000.htm" title="http://resources.arcgis.com/en/help/main/10.2/0017/00170000004m000000.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS Help 10.2 - Calculate Field (Data Management)&lt;/A&gt; needs an expression type if you've got a code block to execute. The IF statement you have posted here is a code block in VB. For future compatibility and for the sake of this forum, I'll write it in Python.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;codeblock = """def findTwoLetter(sccatdesc):
&amp;nbsp;&amp;nbsp;&amp;nbsp; output = None
&amp;nbsp;&amp;nbsp;&amp;nbsp; if &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;sccatdesc&lt;/SPAN&gt; == "MAT":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output = "SB"
&amp;nbsp;&amp;nbsp;&amp;nbsp; elif &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;sccatdesc&lt;/SPAN&gt; == "MBE":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output = "ME"
&amp;nbsp;&amp;nbsp;&amp;nbsp; elif &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;sccatdesc&lt;/SPAN&gt; == "ME":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output = "TEST"
&amp;nbsp;&amp;nbsp;&amp;nbsp; return output"""&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that codeblock, you will need to include a call to the code block function (I temporarily called it findTwoLetter) with the field name as the argument. Something like&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;expression = "findTwoLetter&lt;CODE&gt;&lt;SPAN class="s" style="color: #a31515;"&gt;(!SCCatDesc!)&lt;/SPAN&gt;&lt;/CODE&gt;"&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The final calculate field code would then be like&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;arcpy.CalculateField_management(PeterTable, "PtrText", expression, "PYTHON_9.3", codeblock)&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, this does not include your concatenation because I don't know how it fits in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 23:35:10 GMT</pubDate>
    <dc:creator>BlakeTerhune</dc:creator>
    <dc:date>2021-12-11T23:35:10Z</dc:date>
    <item>
      <title>If/Else Statement Field Calculator</title>
      <link>https://community.esri.com/t5/python-questions/if-else-statement-field-calculator/m-p/545149#M42511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to add a simple if statement to an existing expression, but am having difficulties getting it to execute.&amp;nbsp; My previous expression in vb script concatenates a number of fields to make one long string in a new field.&amp;nbsp; I would like to add multiple if else statements to be a part of this expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: 'courier new', courier; font-size: 10pt;"&gt;'Trim([NUMBERCYLA]) &amp;amp; ",SB,"&amp;amp; Trim([RESOLUTION_CODE]) &amp;amp; ",,,SC Truck,"&amp;amp; Trim([last_edited_user])&amp;amp; ",Driver,"&amp;amp; Month( [last_edited_date])&amp;amp;"/"&amp;amp; Day([last_edited_date])&amp;amp;"/"&amp;amp; Year ( [last_edited_date]) &amp;amp; ","'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;I have a field SCCatDesc that contains the attributes MAT, MBE, MBI, MBW, SBE, and SBI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;If SCCatDesc = MAT then output = SB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 13.3333330154419px; font-family: arial, helvetica, sans-serif;"&gt;If SCCatDesc =&amp;nbsp; MBE then output = ME&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 13.3333330154419px; font-family: arial, helvetica, sans-serif;"&gt;If SCCatDesc =&amp;nbsp; MBI then output = MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 13.3333330154419px; font-family: arial, helvetica, sans-serif;"&gt;If SCCatDesc =&amp;nbsp; MBW then output = MW&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 13.3333330154419px; font-family: arial, helvetica, sans-serif;"&gt;If SCCatDesc =&amp;nbsp; SBE then output = SB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 13.3333330154419px; font-family: arial, helvetica, sans-serif;"&gt;If SCCatDesc =&amp;nbsp; SBI then output = SBI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 13.3333330154419px; font-family: arial, helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;I have tried the following as start however it does not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL class="dp-c" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; list-style-position: initial; list-style-image: initial; color: #5c5c5c; margin-bottom: 1px !important; margin-left: 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-weight: inherit;"&gt;If [&lt;SPAN style="color: #303030; font-family: 'courier new', courier; font-size: 13.3333330154419px;"&gt;SCCatDesc&lt;/SPAN&gt;] = "MAT" Then&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; Output = "SB"&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;ElseIf &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #303030; font-family: 'courier new', courier; font-size: 13.3333330154419px;"&gt;SCCatDesc&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;] &lt;/SPAN&gt; = "MBE" Then&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; Output = "ME"&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Else&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; Output = "TEST" &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;End If&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;import &lt;/SPAN&gt;arcpy

&lt;SPAN style="color: #808080;"&gt;#Define Local Parameters
&lt;/SPAN&gt;whereclause = &lt;SPAN style="color: #a5c261;"&gt;"PlannedDate = CONVERT(DATE, GETDATE())"
&lt;/SPAN&gt;SDEFeatureClass = &lt;SPAN style="color: #a5c261;"&gt;"C:\Users\Administrator\AppData\Roaming\ESRI\Desktop10.2\ArcCatalog\Connection to localhost_SCData_sa.sde\SCData.DBO.SO_SC"
&lt;/SPAN&gt;LocalFGDB = &lt;SPAN style="color: #a5c261;"&gt;"C:\PeterText.gdb"
&lt;/SPAN&gt;Outable = &lt;SPAN style="color: #a5c261;"&gt;"WLATable"
&lt;/SPAN&gt;PeterTable = &lt;SPAN style="color: #a5c261;"&gt;"C:\PeterText.gdb\WLATABLE"
&lt;/SPAN&gt;expression = &lt;SPAN style="color: #a5c261;"&gt;'Trim([NUMBERCYLA]) &amp;amp; ",SB,"&amp;amp; Trim([RESOLUTION_CODE]) &amp;amp; ",,,SC Truck,"&amp;amp; Trim([last_edited_user])&amp;amp; ",Driver,"&amp;amp; Month( [last_edited_date])&amp;amp;"/"&amp;amp; Day([last_edited_date])&amp;amp;"/"&amp;amp; Year ( [last_edited_date]) &amp;amp; ","'
&lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;#Selection Query
&lt;/SPAN&gt;selection = &lt;SPAN style="color: #a5c261;"&gt;"""CYLA_DISTRICT = 'WLA' AND PlannedDate = CONVERT(DATE, GETDATE())"""
&lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;#Deletes old FC
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;if &lt;/SPAN&gt;arcpy.Exists(PeterTable):
&amp;nbsp; arcpy.Delete_management(PeterTable)


&lt;SPAN style="color: #808080;"&gt;#Sends Feature Class to Table with Where Clause
&lt;/SPAN&gt;arcpy.TableToTable_conversion(SDEFeatureClass&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;LocalFGDB&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;Outable&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;selection)

&lt;SPAN style="color: #808080;"&gt;#Calculates Field with expression for Peter Text File
&lt;/SPAN&gt;arcpy.CalculateField_management(PeterTable&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;"PtrText"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;expression)










&lt;SPAN style="color: #808080;"&gt;#Search Cursor to extract Peter Text Field
&lt;/SPAN&gt;myOutputFile = &lt;SPAN style="color: #8888c6;"&gt;open&lt;/SPAN&gt;(&lt;SPAN style="color: #a5c261;"&gt;"C:\PeterScripts\WLA\Peter.txt"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;'w'&lt;/SPAN&gt;)
rows = arcpy.da.SearchCursor(&lt;SPAN style="color: #a5c261;"&gt;"C:\PeterText.gdb\WLATable"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;[&lt;SPAN style="color: #a5c261;"&gt;"PtrText"&lt;/SPAN&gt;])
&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;for &lt;/SPAN&gt;row &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;in &lt;/SPAN&gt;rows:
&amp;nbsp; myOutputFile.write(&lt;SPAN style="color: #8888c6;"&gt;str&lt;/SPAN&gt;(row[&lt;SPAN style="color: #6897bb;"&gt;0&lt;/SPAN&gt;]) + &lt;SPAN style="color: #a5c261;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;'&lt;/SPAN&gt;)
&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;del &lt;/SPAN&gt;row&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;rows
myOutputFile.close()&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:35:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/if-else-statement-field-calculator/m-p/545149#M42511</guid>
      <dc:creator>GeoffreyWest</dc:creator>
      <dc:date>2021-12-11T23:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: If/Else Statement Field Calculator</title>
      <link>https://community.esri.com/t5/python-questions/if-else-statement-field-calculator/m-p/545150#M42512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you've really got two field calcs here:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The IF statement to make the two letter codes&lt;/LI&gt;&lt;LI&gt;The long concatenation expression&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how those two letter codes fit in to the concatenation expression. &lt;A href="http://resources.arcgis.com/en/help/main/10.2/0017/00170000004m000000.htm" title="http://resources.arcgis.com/en/help/main/10.2/0017/00170000004m000000.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS Help 10.2 - Calculate Field (Data Management)&lt;/A&gt; needs an expression type if you've got a code block to execute. The IF statement you have posted here is a code block in VB. For future compatibility and for the sake of this forum, I'll write it in Python.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;codeblock = """def findTwoLetter(sccatdesc):
&amp;nbsp;&amp;nbsp;&amp;nbsp; output = None
&amp;nbsp;&amp;nbsp;&amp;nbsp; if &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;sccatdesc&lt;/SPAN&gt; == "MAT":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output = "SB"
&amp;nbsp;&amp;nbsp;&amp;nbsp; elif &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;sccatdesc&lt;/SPAN&gt; == "MBE":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output = "ME"
&amp;nbsp;&amp;nbsp;&amp;nbsp; elif &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;sccatdesc&lt;/SPAN&gt; == "ME":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output = "TEST"
&amp;nbsp;&amp;nbsp;&amp;nbsp; return output"""&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that codeblock, you will need to include a call to the code block function (I temporarily called it findTwoLetter) with the field name as the argument. Something like&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;expression = "findTwoLetter&lt;CODE&gt;&lt;SPAN class="s" style="color: #a31515;"&gt;(!SCCatDesc!)&lt;/SPAN&gt;&lt;/CODE&gt;"&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The final calculate field code would then be like&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;arcpy.CalculateField_management(PeterTable, "PtrText", expression, "PYTHON_9.3", codeblock)&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, this does not include your concatenation because I don't know how it fits in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:35:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/if-else-statement-field-calculator/m-p/545150#M42512</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2021-12-11T23:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: If/Else Statement Field Calculator</title>
      <link>https://community.esri.com/t5/python-questions/if-else-statement-field-calculator/m-p/545151#M42513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to what Blake indicates, you could use a dictionary (key, value pairs) to hold the values you want to recode. In python this would be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;dct = {"MAT": "SB",&amp;nbsp; "MBE": "ME",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "MBI": "MB", "MBW": "MW",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "SBE": "SB", "SBI": "SBI"}

SCCatDesc = "MBI"
output = dct[SCCatDesc] if SCCatDesc in dct else "TEST"&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...will result "MB"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With respect to the other expression you could do this in python:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;from datetime import datetime
last_edited_date = datetime.now()
NUMBERCYLA = "NUMBERCYLA"
RESOLUTION_CODE = "RESOLUTION_CODE"
last_edited_user = "last_edited_user"
datetxt = last_edited_date.strftime("%m/%d/%Y")

result = "{0},SB,{1},,,SC Truck,{2},Driver,{3},".format(NUMBERCYLA, RESOLUTION_CODE, last_edited_user, datetxt)
print result&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will yield:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt; NUMBERCYLA,SB,RESOLUTION_CODE,,,SC Truck,last_edited_user,Driver,02/03/2015,&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would probably use an arc.da.UpdateCursor to update the information...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:35:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/if-else-statement-field-calculator/m-p/545151#M42513</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T23:35:13Z</dc:date>
    </item>
  </channel>
</rss>

