<?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: Overwrite files in Python Scripts ArcGIS 10 in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184502#M6216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mark:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was successful in ArcGIS 10 using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Overwrite pre-existing files&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.overwriteOutput = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Python, I think that upper/lower-case text makes a difference in successful coding.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Sep 2010 12:49:35 GMT</pubDate>
    <dc:creator>JoeFlannery</dc:creator>
    <dc:date>2010-09-03T12:49:35Z</dc:date>
    <item>
      <title>Overwrite files in Python Scripts ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184499#M6213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to overwrite the outputs of my python geoprocessing script in ArcGIS 10.&amp;nbsp; How can I do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 18:47:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184499#M6213</guid>
      <dc:creator>MarkVolz</dc:creator>
      <dc:date>2010-09-02T18:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite files in Python Scripts ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184500#M6214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In v9.3 it was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.overwriteoutput = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I am assuming in v10 it would be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.overwriteoutput = True&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 20:16:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184500#M6214</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2010-09-02T20:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite files in Python Scripts ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184501#M6215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your reply.&amp;nbsp; Unfortunatly I was unable to get the code to work with arcpy.OverwriteOutput = True or arcpy.OverwriteOutput = 1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 12:22:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184501#M6215</guid>
      <dc:creator>MarkVolz</dc:creator>
      <dc:date>2010-09-03T12:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite files in Python Scripts ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184502#M6216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mark:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was successful in ArcGIS 10 using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Overwrite pre-existing files&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.overwriteOutput = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Python, I think that upper/lower-case text makes a difference in successful coding.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 12:49:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184502#M6216</guid>
      <dc:creator>JoeFlannery</dc:creator>
      <dc:date>2010-09-03T12:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite files in Python Scripts ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184503#M6217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh my, that's so ESRI...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a A LOT of code to rewrite!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 15:08:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184503#M6217</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2010-09-03T15:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite files in Python Scripts ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184504#M6218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This frustrated me for an hour. arcpy is INDEED case sensitive, but the real crime is that ALL OVER esri help docs there is varying case used as if it would work in the examples. On top of that, most examples never show the env module, and show it this way (which will not work!!): &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.overwriteOutput = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I've even seen this in the esri help docs, which will not work: arcpy.env.overwriteOutput = true)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when it should be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.overwriteOutput = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IN THE HELP docs for Heaven sakes!!!! ESRI, tidy up the help docs!!!!! HOUSEKEEPING!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 14:04:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184504#M6218</guid>
      <dc:creator>JohnSchmid</dc:creator>
      <dc:date>2011-08-02T14:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite files in Python Scripts ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184505#M6219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You would be advised to rely on your Python IDE (eg. PythonWin, Pyscripter etc) to obtain a list of applicable functions and help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; dir(arcpy.env)
['MDomain', 'MResolution', 'MTolerance', 'XYDomain', 'XYResolution', 'XYTolerance', 'ZDomain', 'ZResolution', 'ZTolerance', '__class__', '__delattr__', '__delitem__', '__dict__', '__doc__', '__format__', '__getattribute__', '__getitem__', '__hash__', '__init__', '__iter__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_environments', '_gp', '_refresh', 'autoCommit', 'cartographicCoordinateSystem', 'cellSize', 'coincidentPoints', 'compression', 'configKeyword', 'derivedPrecision', 'extent', 'geographicTransformations', 'items', 'iteritems', 'keys', 'maintainSpatialIndex', 'mask', 'newPrecision', 'outputCoordinateSystem', 'outputMFlag', 'outputZFlag', 'outputZValue', 'overwriteOutput', 'projectCompare', 'pyramid', 'qualifiedFieldNames', 'randomGenerator', 'rasterStatistics', 'referenceScale', 'scratchWorkspace', 'snapRaster', 'spatialGrid1', 'spatialGrid2', 'spatialGrid3', 'terrainMemoryUsage', 'tileSize', 'tinSaveVersion', 'values', 'workspace']
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;As indicated, there are places where case-sensitivity or examples are lacking....report them, they are usually on the fixes quickly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, use the online help and NOT the help built into the software, the former is updated regularly, the latter is not&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html?TopicName=welcome" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html?TopicName=welcome&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:22:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184505#M6219</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T09:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite files in Python Scripts ArcGIS 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184506#M6220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean to be fair, all True values need to be True and not true in python. but agreed its a typo and should be fixed.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 18:58:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/overwrite-files-in-python-scripts-arcgis-10/m-p/184506#M6220</guid>
      <dc:creator>Lake_Worth_BeachAdmin</dc:creator>
      <dc:date>2017-10-12T18:58:27Z</dc:date>
    </item>
  </channel>
</rss>

