<?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: Why does this Python label expression fail to add a new line? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631330#M97089</link>
    <description>&lt;P&gt;Another bug?! This software is maddning.&amp;nbsp; I am on v3.4.&amp;nbsp; How about you KenBuja?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jul 2025 21:43:22 GMT</pubDate>
    <dc:creator>GerryGabrisch</dc:creator>
    <dc:date>2025-07-08T21:43:22Z</dc:date>
    <item>
      <title>Why does this Python label expression fail to add a new line?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1630895#M97068</link>
      <description>&lt;P&gt;This Python label properties expression ought to add a new line but it fails to do so.&amp;nbsp; Any clues are appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Contour] + ' ft NAVD88' + '\n' + str(float([Contour]) + 0.79) + ' ft MLLW'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136035i96E0ABB1F7B599D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 22:36:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1630895#M97068</guid>
      <dc:creator>GerryGabrisch</dc:creator>
      <dc:date>2025-07-07T22:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this Python label expression fail to add a new line?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1630912#M97071</link>
      <description>&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/text/specify-text-for-labels.htm" target="_blank"&gt;Specify text for labels—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A label expression can be either a simple single-line expression or a more complex expression spanning multiple lines of code and using the parser's programming logic. Arcade enables complex expressions by default. When using Python, VBScript, or JScript, check the &lt;STRONG&gt;Advanced&lt;/STRONG&gt; check box and wrap the code in a function to enable multiline expressions.&lt;/P&gt;&lt;P&gt;So you need to write a "def"&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 23:54:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1630912#M97071</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-07-07T23:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this Python label expression fail to add a new line?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631076#M97075</link>
      <description>&lt;P&gt;I think you're confusing multi-line labels with multi-line expressions. This single-line expression works properly in my testing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_2aba7a.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136076i78521E4112CCF10E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snag_2aba7a.png" alt="Snag_2aba7a.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 13:18:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631076#M97075</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2025-07-08T13:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this Python label expression fail to add a new line?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631330#M97089</link>
      <description>&lt;P&gt;Another bug?! This software is maddning.&amp;nbsp; I am on v3.4.&amp;nbsp; How about you KenBuja?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 21:43:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631330#M97089</guid>
      <dc:creator>GerryGabrisch</dc:creator>
      <dc:date>2025-07-08T21:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this Python label expression fail to add a new line?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631333#M97091</link>
      <description>&lt;P&gt;You didn't have "Remove extra line breaks" checked maybe?&amp;nbsp; I tend to use '\r\n'&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 21:54:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631333#M97091</guid>
      <dc:creator>HansRasmussen</dc:creator>
      <dc:date>2025-07-08T21:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this Python label expression fail to add a new line?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631374#M97093</link>
      <description>&lt;P&gt;I did try '\r\n' to no avail before posting.&amp;nbsp; Remove extra line breaks is unchecked.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 23:13:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631374#M97093</guid>
      <dc:creator>GerryGabrisch</dc:creator>
      <dc:date>2025-07-08T23:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this Python label expression fail to add a new line?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631511#M97101</link>
      <description>&lt;P&gt;This was on 3.5.2&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 12:21:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631511#M97101</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2025-07-09T12:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why does this Python label expression fail to add a new line?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631735#M97116</link>
      <description>&lt;P&gt;Taking a quick look through &lt;A href="https://www.esri.com/content/dam/esrisites/en-us/media/products/arcgis-pro-issues-addressed/arcgis-pro-3-4-issues-addressed.pdf" target="_self"&gt;ArcGIS Pro 3.4 Issues Addressed&lt;/A&gt; and &lt;A href="https://www.esri.com/content/dam/esrisites/en-us/media/products/arcgis-pro-issues-addressed/arcgis-pro-3-5-issues-addressed.pdf" target="_self"&gt;ArcGIS Pro 3.5 Issues Addressed&lt;/A&gt;, nothing in Pro 3.4 patches or Pro 3.5 seems to involve a labeling defect that would cause this difference between versions.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 18:13:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/why-does-this-python-label-expression-fail-to-add/m-p/1631735#M97116</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2025-07-09T18:13:24Z</dc:date>
    </item>
  </channel>
</rss>

