<?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: arcpy: table is not editable in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-table-is-not-editable/m-p/1077698#M61702</link>
    <description>&lt;P&gt;Ahh now I see my mistake...&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jul 2021 07:27:50 GMT</pubDate>
    <dc:creator>MatthiasHa</dc:creator>
    <dc:date>2021-07-12T07:27:50Z</dc:date>
    <item>
      <title>arcpy: table is not editable</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-table-is-not-editable/m-p/1077275#M61657</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I just tried to edit a shapefile inside python, but all I get is ERROR 000499: table is not editable. The strange thing is: I can edit the shapefile in arcMap, it just wont work with arcpy. Also after I restarted my computer (so there is no lock on the file... ) Here's the code:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;import arcpy

workspace = "W:/data/"
arcpy.env.workspace = workspace

filename = "measurePoints"

arcpy.Copy_management(fileName + ".shp", fileName + "XY.shp")
with arcpy.da.Editor(workspace) as edit:
	arcpy.AddXY_management(fileName + "XY.shp")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;I checked if the file is write-protected, but it isn't, since I just create it in the code.&lt;/P&gt;&lt;P&gt;If anybody has any ideas, I'd appreciate it very much!&lt;/P&gt;&lt;P&gt;best regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 15:21:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-table-is-not-editable/m-p/1077275#M61657</guid>
      <dc:creator>MatthiasHa</dc:creator>
      <dc:date>2021-07-09T15:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy: table is not editable</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-table-is-not-editable/m-p/1077323#M61661</link>
      <description>&lt;P&gt;Did you try...&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.Copy_management(fileName + ".shp", fileName + "XY.shp")
arcpy.AddXY_management(fileName + "XY.shp")&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 09 Jul 2021 16:26:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-table-is-not-editable/m-p/1077323#M61661</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-09T16:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy: table is not editable</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-table-is-not-editable/m-p/1077698#M61702</link>
      <description>&lt;P&gt;Ahh now I see my mistake...&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 07:27:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-table-is-not-editable/m-p/1077698#M61702</guid>
      <dc:creator>MatthiasHa</dc:creator>
      <dc:date>2021-07-12T07:27:50Z</dc:date>
    </item>
  </channel>
</rss>

