<?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 Field Calculator Python in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576104#M19050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, this looks like it would fall under the Real Cool Stuff on Python.&amp;nbsp; Thank You GP Team.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2010 18:40:59 GMT</pubDate>
    <dc:creator>BartHound</dc:creator>
    <dc:date>2010-02-25T18:40:59Z</dc:date>
    <item>
      <title>Real Cool Stuff on Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576094#M19040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, far, the py window is pretty cool.&amp;nbsp; I type a little bit more here than with arcgisscripting, but really now, I think I will use this window over the command line window anyday even with the extra space ;).&amp;nbsp; Long Live the Python Window.&amp;nbsp; Now it doesn't beat Wing, but still pretty cool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should have tested this more in holistic.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 17:39:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576094#M19040</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2009-10-29T17:39:31Z</dc:date>
    </item>
    <item>
      <title>from arcpy import...</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576095#M19041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I like we can now effectively put from ... import ... to use.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 17:44:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576095#M19041</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2009-10-29T17:44:46Z</dc:date>
    </item>
    <item>
      <title>Saving and loading settings</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576096#M19042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To facilitate the transfer of environment settings from one script to another and to save settings from one session to the next, settings can be saved to a file. ArcPy can then set its environments by loading a settings file.&amp;nbsp; This is pretty cool.&amp;nbsp; Awesome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only issue I have is why os.system, and not subprocess as part of the sample for calling the settings file.&amp;nbsp; Cool Nevertheless.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 18:31:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576096#M19042</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2009-10-29T18:31:03Z</dc:date>
    </item>
    <item>
      <title>Lists</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576097#M19043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This was new at 9.3, but they are really cool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 19:02:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576097#M19043</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2009-10-29T19:02:16Z</dc:date>
    </item>
    <item>
      <title>For Loops for Cursors</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576098#M19044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ted,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right, this is an enhancement at 9.4.&amp;nbsp; Less code, easier to understand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At 9.3, you would have to use a while loop like so...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;rows = gp.SearchCursor(myTable)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;row = rows.next()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while row:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print row.getValue("Rank")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; row = rows.next()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At 9.4, you can you use a for loop (you can also use the while loop approach if you desire)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for row in arcpy.SearchCursor(myTable)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print row.getValue("Rank")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Dave&amp;nbsp;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 21:05:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576098#M19044</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2009-10-29T21:05:23Z</dc:date>
    </item>
    <item>
      <title>ListFiles()</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576099#M19045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="font-size:5;"&gt;arcpy.ListFiles("*.zip")&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #004da8; font-size: 5;"&gt;[u'C:\\GIS\\94\\CopyHome.zip', u'C:\\GIS\\94\\dd.zip', u'C:\\GIS\\94\\ESRI_AGOL_StreetMap_Web_Kit.zip', u'C:\\GIS\\94\\Python25.zip', u'C:\\GIS\\94\\Screenshots.zip', u'C:\\GIS\\94\\Topology.zip']&lt;BR /&gt; &lt;BR /&gt;Cool functionality, no more glob.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 18:09:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576099#M19045</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2009-11-02T18:09:00Z</dc:date>
    </item>
    <item>
      <title>Set Password</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576100#M19046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Applicable to py and models.&amp;nbsp; This is very, very handy, and very cool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2009 16:28:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576100#M19046</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2009-11-09T16:28:51Z</dc:date>
    </item>
    <item>
      <title>drag and drop a path</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576101#M19047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I get the raw string inserted when dragging a path from Catalog, thats pretty cool.&amp;nbsp; Thank you GP Team.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2009 22:59:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576101#M19047</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2009-11-18T22:59:41Z</dc:date>
    </item>
    <item>
      <title>ListVersions is awesome</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576102#M19048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;import arcpy as ap&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#ap.env.workspace = r'C:\94_testing'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;versionList = ap.ListVersions(r'Database Connections\ACR_GIS@sdemapper - Test Server.sde')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#versionList.remove ('dbo.DEFAULT')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#versionList.remove ('ACR_FINAL.Master')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;versionList.sort()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for version in versionList:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; print version&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, this is pretty cool, and it is a real list. So, I am assuming we can just feed this into a delete and delete a bunch of versions at once. Very Cool, indeed. &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 19:32:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576102#M19048</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2009-12-02T19:32:09Z</dc:date>
    </item>
    <item>
      <title>Real Cool Stuff on Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576103#M19049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;for row in arcpy.SearchCursor(myTable)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print row.getValue("Rank")&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah, this is really really &lt;/SPAN&gt;&lt;STRONG&gt;much&lt;/STRONG&gt;&lt;SPAN&gt; more readable then in 9.3 Hooray! :cool:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 10:15:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576103#M19049</guid>
      <dc:creator>StefanOffermann</dc:creator>
      <dc:date>2010-02-05T10:15:46Z</dc:date>
    </item>
    <item>
      <title>Field Calculator Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576104#M19050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, this looks like it would fall under the Real Cool Stuff on Python.&amp;nbsp; Thank You GP Team.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 18:40:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576104#M19050</guid>
      <dc:creator>BartHound</dc:creator>
      <dc:date>2010-02-25T18:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: GP 10: Real Cool Stuff on Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576105#M19051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Spatial Reference --This is much cooler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Much better, much more readable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;prjfile = r"C:\Program Files (x86)\ArcGIS\Desktop10.0\Coordinate Systems\NAD 1983 StatePlane California VI FIPS 0406 (US Feet).prj"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;spatialRef = arcpy.SpatialReference (prjfile)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-size:4;"&gt;VS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sr = "PROJCS['NAD_1983_StatePlane_California_VI_FIPS_0406_Feet',GEOGCS['GCS_North_American_1983',DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Lambert_Conformal_Conic'],PARAMETER['False_Easting',6561666.666666666],PARAMETER['False_Northing',1640416.666666667],PARAMETER['Central_Meridian',-116.25],PARAMETER['Standard_Parallel_1',32.78333333333333],PARAMETER['Standard_Parallel_2',33.88333333333333],PARAMETER['Latitude_Of_Origin',32.16666666666666],UNIT['Foot_US',0.3048006096012192]];IsHighPrecision"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MUCH clearer syntax.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you GP Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 23:56:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576105#M19051</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2010-07-19T23:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Beta 10: Real Cool Stuff on Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576106#M19052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;dot notation&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 04:30:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/real-cool-stuff-on-python/m-p/576106#M19052</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2010-08-12T04:30:17Z</dc:date>
    </item>
  </channel>
</rss>

