<?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: VB to Python Conversion Question in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/vb-to-python-conversion-question/m-p/1307737#M68147</link>
    <description>&lt;P&gt;Thank you, Johannes!!!&lt;/P&gt;&lt;P&gt;This worked perfectly.&lt;/P&gt;&lt;P&gt;You have a great day as well.&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2023 19:09:38 GMT</pubDate>
    <dc:creator>JD1016</dc:creator>
    <dc:date>2023-07-12T19:09:38Z</dc:date>
    <item>
      <title>VB to Python Conversion Question</title>
      <link>https://community.esri.com/t5/python-questions/vb-to-python-conversion-question/m-p/1307702#M68145</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I preface by saying I know next to nothing about Python scripting.&amp;nbsp; There...got that out of the way.&lt;/P&gt;&lt;P&gt;We would like to populate a "text" field called &lt;STRONG&gt;GISIDNUMBER&lt;/STRONG&gt; with the following---&lt;STRONG&gt;CAP76&lt;/STRONG&gt;.&amp;nbsp; The number will vary and comes from the OBJECTID field.&lt;/P&gt;&lt;P&gt;In VB the script it would be written as &lt;STRONG&gt;"CAP" + [OBJIDTXT]&lt;/STRONG&gt;.&amp;nbsp; Whereby we added a new field converting the OBJECTID to text and called it OBJIDFIELD.&lt;/P&gt;&lt;P&gt;Could someone supply a Python script that would do the process all in one without creating a new field?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 17:47:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/vb-to-python-conversion-question/m-p/1307702#M68145</guid>
      <dc:creator>JD1016</dc:creator>
      <dc:date>2023-07-12T17:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: VB to Python Conversion Question</title>
      <link>https://community.esri.com/t5/python-questions/vb-to-python-conversion-question/m-p/1307727#M68146</link>
      <description>&lt;P&gt;One of these&lt;/P&gt;&lt;LI-CODE lang="python"&gt;"CAP" + str(!OBJECTID!)

"CAP{}".format(!OBJECTID!)

f"CAP{!OBJECTID!}"  # only ArcGIS Pro&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 12 Jul 2023 18:54:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/vb-to-python-conversion-question/m-p/1307727#M68146</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-07-12T18:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: VB to Python Conversion Question</title>
      <link>https://community.esri.com/t5/python-questions/vb-to-python-conversion-question/m-p/1307737#M68147</link>
      <description>&lt;P&gt;Thank you, Johannes!!!&lt;/P&gt;&lt;P&gt;This worked perfectly.&lt;/P&gt;&lt;P&gt;You have a great day as well.&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 19:09:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/vb-to-python-conversion-question/m-p/1307737#M68147</guid>
      <dc:creator>JD1016</dc:creator>
      <dc:date>2023-07-12T19:09:38Z</dc:date>
    </item>
  </channel>
</rss>

