Hi,
I have been given a task that required me to update existing data. I had to unzip a set of e00 files then bring them into Arcmap (I used the extract all method), then use this python code (below) to unpack them
<SPAN class="keyword token">import</SPAN> arcpy<SPAN class="punctuation token">,</SPAN> os
arcpy<SPAN class="punctuation token">.</SPAN>env<SPAN class="punctuation token">.</SPAN>overwriteOutput <SPAN class="operator token">=</SPAN> <SPAN class="token boolean">True</SPAN>
<SPAN class="comment token"># Workspace for interchange files</SPAN>
arcpy<SPAN class="punctuation token">.</SPAN>env<SPAN class="punctuation token">.</SPAN>workspace <SPAN class="operator token">=</SPAN> ws <SPAN class="operator token">=</SPAN> <SPAN class="string token">"C:\_Planharv2017update"</SPAN>
<SPAN class="comment token"># List all ArcInfo Interchange files (.e00)</SPAN>
<SPAN class="keyword token">for</SPAN> cov <SPAN class="keyword token">in</SPAN> arcpy<SPAN class="punctuation token">.</SPAN>ListFiles<SPAN class="punctuation token">(</SPAN><SPAN class="string token">'*.e00'</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">:</SPAN>
arcpy<SPAN class="punctuation token">.</SPAN>ImportFromE00_conversion<SPAN class="punctuation token">(</SPAN>cov<SPAN class="punctuation token">,</SPAN> ws<SPAN class="punctuation token">,</SPAN> cov<SPAN class="punctuation token">.</SPAN>split<SPAN class="punctuation token">(</SPAN><SPAN class="string token">'.'</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">[</SPAN><SPAN class="number token">0</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">print</SPAN> <SPAN class="string token">'Converted %s'</SPAN> <SPAN class="operator token">%</SPAN> cov<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
and then append them. The code will run however it seems to not change the data. So I used the manual tool import from e00 and it worked perfectly. However it will not allow me to append the updates, does anyone know where I have gone wrong or what do to next?