<?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: python beginner needs instant help calculating field  in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422296#M33184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, will you have any time in near future? I may get to talk to ESRI tech support today, not sure. Thanks for clarifying the field requirement. I wanted to use text in my ID field, as I didn’t want the field to ever be calculated by mistake, but I suppose converting it to text might be another step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2015 21:23:03 GMT</pubDate>
    <dc:creator>AMiller</dc:creator>
    <dc:date>2015-12-02T21:23:03Z</dc:date>
    <item>
      <title>python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422294#M33182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I haven't yet learned how to use python, I know a tiny bit. I am using ArcMAp 10.2. I want to use a python program to Calculate a filed as a sequential ID, as I found instructions for in "Help" under calculate field examples (Accumulative and sequential calculations).&lt;/P&gt;&lt;P&gt;I am at a loss as to how to enter the info properly in the calculate field dialogue boxes. I have tried a few times, not at all sure where my basic problem lies. I need to do this real fast, but I just get lost or nowhere. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt; Can you give my python future a quick boost? What do I type in the code block? what do I type in the other area? how do I have to alter the code for my scenario (from as it is typed in the help example?)&lt;/P&gt;&lt;P&gt;What type of field can I use for my new ID? I created a text field, is that ok? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 21:04:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422294#M33182</guid>
      <dc:creator>AMiller</dc:creator>
      <dc:date>2015-12-02T21:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422295#M33183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I only have time for one question given your rush, this will at least get you started...&amp;nbsp; integers should go in a numeric field with no decimal places&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 21:11:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422295#M33183</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-12-02T21:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422296#M33184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, will you have any time in near future? I may get to talk to ESRI tech support today, not sure. Thanks for clarifying the field requirement. I wanted to use text in my ID field, as I didn’t want the field to ever be calculated by mistake, but I suppose converting it to text might be another step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 21:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422296#M33184</guid>
      <dc:creator>AMiller</dc:creator>
      <dc:date>2015-12-02T21:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422297#M33185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do exactly what it says here and you'll be good to go.&amp;nbsp; I just tried it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/fr/knowledgebase/techarticles/detail/38517" title="http://support.esri.com/fr/knowledgebase/techarticles/detail/38517"&gt;38517 - Create sequential numbers in a field using Python in the Field Calculator&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks something like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/151205_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just added a long int field named MyField to test.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 21:29:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422297#M33185</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2015-12-02T21:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422298#M33186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much, I am about to try…&lt;/P&gt;&lt;P&gt;Adrienne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 21:39:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422298#M33186</guid>
      <dc:creator>AMiller</dc:creator>
      <dc:date>2015-12-02T21:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422299#M33187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried and still not working, I tried a short integer field , and a long integer field. I tried with all records unselected, and I tried with all records selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 21:48:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422299#M33187</guid>
      <dc:creator>AMiller</dc:creator>
      <dc:date>2015-12-02T21:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422300#M33188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and you made the field active by clicking on its title, prior to doing the field calculation... and you do have the code block specified?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 21:49:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422300#M33188</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-12-02T21:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422301#M33189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're having trouble auto-incrementing using Python, you can easily field calculate the FID or ObjectID field into your named ID field... if you need it to start at 1, just add 1 to your result, e.g. [FID] + 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 21:54:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422301#M33189</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-12-02T21:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422302#M33190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does the error (if any) in the Results window tell you was the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 22:00:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422302#M33190</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-12-02T22:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422303#M33191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course, provided no FIDs are missing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 22:04:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422303#M33191</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-12-02T22:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422304#M33192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone, I was just on phone with ESRI tech support, I was having some kind of issue with my existing document, the directions sent by Joe Borgione worked when I (we) tried doing in a new document.&lt;/P&gt;&lt;P&gt;Problem solved!! Yay!! ☺&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 22:12:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422304#M33192</guid>
      <dc:creator>AMiller</dc:creator>
      <dc:date>2015-12-02T22:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422305#M33193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone, I was just on phone with ESRI tech support, I was having some kind of issue with my existing document, the directions sent by Joe Borgione worked when I (we) tried doing in a new document.&lt;/P&gt;&lt;P&gt;Problem solved!! Yay!! ☺&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 22:12:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422305#M33193</guid>
      <dc:creator>AMiller</dc:creator>
      <dc:date>2015-12-02T22:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422306#M33194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone, I was just on phone with ESRI tech support, I was having some kind of issue with my existing document, the directions sent by Joe Borgione worked when I (we) tried doing in a new document.&lt;/P&gt;&lt;P&gt;Problem solved!! Yay!! ☺&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 22:12:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422306#M33194</guid>
      <dc:creator>AMiller</dc:creator>
      <dc:date>2015-12-02T22:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422307#M33195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone, I was just on phone with ESRI tech support, I was having some kind of issue with my existing document, the directions sent by Joe Borgione worked when I (we) tried doing in a new document.&lt;/P&gt;&lt;P&gt;Problem solved!! Yay!! ☺&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 22:13:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422307#M33195</guid>
      <dc:creator>AMiller</dc:creator>
      <dc:date>2015-12-02T22:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422308#M33196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should be ok if they are calculating a shapefile field - as I understand, these are renumbered from 0 - no gaps will show-up. Of course, not the same for geodatabase!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 22:16:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422308#M33196</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-12-02T22:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422309#M33197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To elaborate upon the suggestion by &lt;A href="https://community.esri.com/migrated-users/19932"&gt;Darren Wiens&lt;/A&gt; ,here's how you check the Results for errors or other informational messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="geoprocessing_results_pulldown.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/151201_geoprocessing_results_pulldown.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the Results windows that comes up.&amp;nbsp; Click on the plus signs to expand.&amp;nbsp; Drill down to the specific run you did and then expand the Messages.&amp;nbsp; If there is an error, there will be red x's.&amp;nbsp; Oftentimes the Error message will have a link to further explain the error (though admittedly some links just say you got a generic error, which isn't much help).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="geoprocessing_results_pulldown_Window.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/151208_geoprocessing_results_pulldown_Window.jpg" style="width: 620px; height: 376px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 22:24:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422309#M33197</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2015-12-02T22:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422310#M33198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darren, I did resolve my issue, with ESRI tech support. The problem I encountered at first (with instructions sent by Joe B) seemed to be resolved by trying the process in a new document. Thanks for your attention, appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 22:33:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422310#M33198</guid>
      <dc:creator>AMiller</dc:creator>
      <dc:date>2015-12-02T22:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422311#M33199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 22:34:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422311#M33199</guid>
      <dc:creator>AMiller</dc:creator>
      <dc:date>2015-12-02T22:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422312#M33200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a little inside info that can benefit everyone wanting to do calculations in the field calculator using Python. The book "GIS Tutorial for Python Scripting" has a chapter on this ... AND YOU CAN GET THAT CHAPTER FOR FREE! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to this Esri Press site and click "Sample Chapter":&lt;/P&gt;&lt;P&gt;&lt;A href="http://esripress.esri.com/display/index.cfm?fuseaction=display&amp;amp;websiteID=256&amp;amp;moduleID=29" title="http://esripress.esri.com/display/index.cfm?fuseaction=display&amp;amp;websiteID=256&amp;amp;moduleID=29"&gt;Esri Press | GIS Tutorial for Python Scripting&lt;/A&gt; &lt;/P&gt;&lt;P&gt;You can get the data necessary to do all the work for this book at this site and click under "Resources":&lt;/P&gt;&lt;P&gt;&lt;A href="http://esripress.esri.com/bookresources/index.cfm?event=catalog.book&amp;amp;id=8" title="http://esripress.esri.com/bookresources/index.cfm?event=catalog.book&amp;amp;id=8"&gt;Esri Press Book Resources | GIS Tutorial for Python® Scripting&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That'll get you started with Python - then you can buy the rest of the book later. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; By the time you finish all those tutorials and exercises you should be asking for a raise!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David W. Allen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 17:09:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422312#M33200</guid>
      <dc:creator>DavidAllen</dc:creator>
      <dc:date>2015-12-03T17:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: python beginner needs instant help calculating field</title>
      <link>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422313#M33201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although this document is a little dated, keep it in your files. You will find that you refer to it often. &lt;BR /&gt;Katy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 22:41:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-beginner-needs-instant-help-calculating/m-p/422313#M33201</guid>
      <dc:creator>KathleenWallis</dc:creator>
      <dc:date>2015-12-03T22:41:07Z</dc:date>
    </item>
  </channel>
</rss>

