<?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: Enter a String for all the Records of a Field in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595047#M46597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why is there even a .str() method option?&amp;nbsp; There is no .str() method in python......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Mar 2017 19:34:59 GMT</pubDate>
    <dc:creator>IanMurray</dc:creator>
    <dc:date>2017-03-29T19:34:59Z</dc:date>
    <item>
      <title>Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595038#M46588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Text field (Status), which I need to enter a string ('Existing') into all the cells of this field. I have 300 records and prefer to do it via Python or JavaScript. For some reason, I get error messages for my script. Can anyone help me with that? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:00:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595038#M46588</guid>
      <dc:creator>AzaN</dc:creator>
      <dc:date>2017-03-29T19:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595039#M46589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are having issues with a script, it is recommended to post the script and the error so people know where you are going wrong.&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;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/calculate-field.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/calculate-field.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CalculateField_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"yourfilehere"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Status"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;'Existing'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"PYTHON_9.3"&lt;/SPAN&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:33:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595039#M46589</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2021-12-12T01:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595040#M46590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response. I am using the Field calculator. Could you please give the script I should enter into that? By the way, my field name is Status.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:09:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595040#M46590</guid>
      <dc:creator>AzaN</dc:creator>
      <dc:date>2017-03-29T19:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595041#M46591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!Status!.str('Existing')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error message:&lt;/P&gt;&lt;P&gt;There was a failure in processing....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:11:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595041#M46591</guid>
      <dc:creator>AzaN</dc:creator>
      <dc:date>2017-03-29T19:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595042#M46592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try just putting in 'Existing' as your Expression.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:21:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595042#M46592</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2017-03-29T19:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595043#M46593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try the code posted by &lt;A href="https://community.esri.com/people/iamurray"&gt;iamurray&lt;/A&gt;‌, from your original question I think that code should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595043#M46593</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-03-29T19:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595044#M46594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already did. Same error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:24:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595044#M46594</guid>
      <dc:creator>AzaN</dc:creator>
      <dc:date>2017-03-29T19:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595045#M46595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but it did not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:28:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595045#M46595</guid>
      <dc:creator>AzaN</dc:creator>
      <dc:date>2017-03-29T19:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595046#M46596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only reason this wouldn't work is if your field was not a text field, or your text field character limit was less than 8 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/344695_FieldCalculator.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:32:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595046#M46596</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2017-03-29T19:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595047#M46597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why is there even a .str() method option?&amp;nbsp; There is no .str() method in python......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:34:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595047#M46597</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2017-03-29T19:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595048#M46598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome!&amp;nbsp; Thank you so much. It worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:35:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595048#M46598</guid>
      <dc:creator>AzaN</dc:creator>
      <dc:date>2017-03-29T19:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595049#M46599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/344679_field_calc02.png" style="width: 620px; height: 315px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:35:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595049#M46599</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-03-29T19:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a String for all the Records of a Field</title>
      <link>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595050#M46600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes a picture is worth about 25 words....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:40:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/enter-a-string-for-all-the-records-of-a-field/m-p/595050#M46600</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2017-03-29T19:40:09Z</dc:date>
    </item>
  </channel>
</rss>

