<?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: using cursor to load data in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419690#M32953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the append... but it gave this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "\\eusc.europa.eu\ATLAS\Home\psoares\Documents\python\filesupporttools\CopyfGDBtGDB_append_version.py", line 63, in &amp;lt;module&amp;gt;&lt;BR /&gt; arcpy.Append_management(fcs,GDBDwgs,"NO_TEST","","" )&lt;BR /&gt; File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\management.py", line 4271, in Append&lt;BR /&gt; raise e&lt;BR /&gt;ExecuteError: Failed to execute. Parameters are not valid.&lt;BR /&gt;ERROR 000840: The value is not a Table View.&lt;BR /&gt;ERROR 000840: The value is not a Raster Layer.&lt;BR /&gt;Failed to execute (Append).&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;fcs &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFeatureClasses&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;


        &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; fc &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; fcs&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'\t'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fc
            count&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;count_records&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;   &lt;SPAN class="comment token"&gt;# counts the features within each FC&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; count&lt;SPAN class="operator token"&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"0"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
                arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Append_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fcs&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;GDBDwgs&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"NO_TEST"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;this is really hard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 18:58:18 GMT</pubDate>
    <dc:creator>PSGeo</dc:creator>
    <dc:date>2021-12-11T18:58:18Z</dc:date>
    <item>
      <title>using cursor to load data</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419685#M32948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;using ArcMap 10.5.&lt;/P&gt;&lt;P&gt;look i want to simply load the data from one gdb to other gdb... but on my first attempt the geometry of polygons and lines was not uploaded. I read in the forums that i needed to include the "SHAPE@". I tried as such, but the result is bad... i cannot understand how to fix it. The error message is: AttributeError: 'unicode' object has no attribute editable.&lt;/P&gt;&lt;P&gt;can someone suggest me something?&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;P&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;        env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;workspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; datasets&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
        fcs &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFeatureClasses&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

        &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; fc &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; fcs&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
            &lt;SPAN class="comment token"&gt;#print '\t', fc&lt;/SPAN&gt;
            count&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;count_records&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;   &lt;SPAN class="comment token"&gt;# counts the features within each FC&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; count&lt;SPAN class="operator token"&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"0"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
                listfields &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFields&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; l &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; range&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;len&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;listfields&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;##                    listfields&lt;L&gt; = listfields&lt;L&gt;.name&lt;/L&gt;&lt;/L&gt;&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;##                    print listfields&lt;/SPAN&gt;
                    listfields &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; f &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; listfields &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;editable &lt;SPAN class="operator token"&gt;and&lt;/SPAN&gt; f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;type &lt;SPAN class="operator token"&gt;!=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Geometry"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"SHAPE@"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
                &lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;da&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SearchCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;listfields&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; cur&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;

                    &lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;da&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;InsertCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;GDBDwgs &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"\\"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; l&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; icur&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;

                        &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; row &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; cur&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
                            &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'\t'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fc
                            icur&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;insertRow&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;row&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                    &lt;SPAN class="keyword token"&gt;del&lt;/SPAN&gt; icur
                &lt;SPAN class="keyword token"&gt;del&lt;/SPAN&gt; cur
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:58:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419685#M32948</guid>
      <dc:creator>PSGeo</dc:creator>
      <dc:date>2021-12-11T18:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: using cursor to load data</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419686#M32949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no need to do things through a cursor.&lt;/P&gt;&lt;P&gt;If you have a need to copy featureclasses from one gdb to another and you want to do it with some changes in the output name perhaps, look at existing tools and their code examples.&lt;/P&gt;&lt;P&gt;Do recognize that many tools can be 'batched' without coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy.htm"&gt;Copy—Data Management toolbox | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/conversion/feature-class-to-feature-class.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/conversion/feature-class-to-feature-class.htm"&gt;Feature Class to Feature Class—Conversion toolbox | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examine the existing tools within the Tools structure, particular those in the Conversion and Data Management toolsets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/introduction-anatomy/anatomy-of-a-tool-reference-page.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/introduction-anatomy/anatomy-of-a-tool-reference-page.htm"&gt;Anatomy of a tool reference page—ArcGIS Help | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code examples ... if needed at all ... are contained within&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 09:55:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419686#M32949</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-20T09:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: using cursor to load data</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419687#M32950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;thanks for the feedback. But the links are all for arcgisPro, it's not my case. Plus, I have already a destination GDB with feature classes inside. my goal in the end is that i run the script for several gdbs that will feed a single gdb (existing one not creating a new one).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 11:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419687#M32950</guid>
      <dc:creator>PSGeo</dc:creator>
      <dc:date>2020-03-20T11:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: using cursor to load data</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419688#M32951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pedro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use the &lt;A href="https://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/truncatetable.htm"&gt;truncate &lt;/A&gt;and then &lt;A href="https://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/append.htm"&gt;append &lt;/A&gt;tool to load the data from one feature class to another.&amp;nbsp; First execute the truncate so that you will not append duplicate features.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 11:43:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419688#M32951</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-03-20T11:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: using cursor to load data</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419689#M32952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the equivalent tools exist in arcmap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 12:41:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419689#M32952</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-20T12:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: using cursor to load data</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419690#M32953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the append... but it gave this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "\\eusc.europa.eu\ATLAS\Home\psoares\Documents\python\filesupporttools\CopyfGDBtGDB_append_version.py", line 63, in &amp;lt;module&amp;gt;&lt;BR /&gt; arcpy.Append_management(fcs,GDBDwgs,"NO_TEST","","" )&lt;BR /&gt; File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\management.py", line 4271, in Append&lt;BR /&gt; raise e&lt;BR /&gt;ExecuteError: Failed to execute. Parameters are not valid.&lt;BR /&gt;ERROR 000840: The value is not a Table View.&lt;BR /&gt;ERROR 000840: The value is not a Raster Layer.&lt;BR /&gt;Failed to execute (Append).&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;fcs &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFeatureClasses&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;


        &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; fc &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; fcs&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'\t'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fc
            count&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;count_records&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;   &lt;SPAN class="comment token"&gt;# counts the features within each FC&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; count&lt;SPAN class="operator token"&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"0"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
                arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Append_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fcs&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;GDBDwgs&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"NO_TEST"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;this is really hard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:58:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419690#M32953</guid>
      <dc:creator>PSGeo</dc:creator>
      <dc:date>2021-12-11T18:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: using cursor to load data</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419691#M32954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your &lt;STRONG&gt;GDBDwgs&lt;/STRONG&gt;&amp;nbsp;set to? &amp;nbsp;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to first try executing the Append tool in ArcMap.&amp;nbsp; Then go to the Results window &amp;gt; right-click on the result &amp;gt; &lt;A href="https://desktop.arcgis.com/en/arcmap/10.3/analyze/executing-tools/using-the-results-window.htm"&gt;Copy As Python Snippet&lt;/A&gt;.&amp;nbsp; This will copy the python syntax to your clipboard that you can then paste into your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 13:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419691#M32954</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-03-20T13:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: using cursor to load data</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419692#M32955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry... it worked, i forgot to point it the table. now it's like this and it worked... well i just test one time i am doing now test with real data.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;        &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; fc &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; fcs&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'\t'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fc
            count&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;count_records&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;   &lt;SPAN class="comment token"&gt;# counts the features within each FC&lt;/SPAN&gt;
            targetfc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GDBDwgs &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"\\"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; fc
            &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; count&lt;SPAN class="operator token"&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"0"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
                arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Append_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;targetfc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"NO_TEST"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:58:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/419692#M32955</guid>
      <dc:creator>PSGeo</dc:creator>
      <dc:date>2021-12-11T18:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: using cursor to load data</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/1093637#M62196</link>
      <description>&lt;P&gt;Your code is hard for me to read but I had a similar issue and I solved it by placing the 'Shape@' field in my list of fields for the insert cursor, as well as in my list of fields for the search cursor.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;new_fields = [field.name &lt;SPAN&gt;if &lt;/SPAN&gt;field.name != &lt;SPAN&gt;'Shape' &lt;/SPAN&gt;&lt;SPAN&gt;else &lt;/SPAN&gt;&lt;SPAN&gt;'Shape@' &lt;/SPAN&gt;&lt;SPAN&gt;for &lt;/SPAN&gt;field &lt;SPAN&gt;in &lt;/SPAN&gt;arcpy.ListFields(new_path)]&lt;BR /&gt;old_fields = [field.name &lt;SPAN&gt;if &lt;/SPAN&gt;field.name != &lt;SPAN&gt;'Shape' &lt;/SPAN&gt;&lt;SPAN&gt;else &lt;/SPAN&gt;&lt;SPAN&gt;'Shape@' &lt;/SPAN&gt;&lt;SPAN&gt;for &lt;/SPAN&gt;field &lt;SPAN&gt;in &lt;/SPAN&gt;arcpy.ListFields(old_path)]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 15:52:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-load-data/m-p/1093637#M62196</guid>
      <dc:creator>CaseyFrost</dc:creator>
      <dc:date>2021-08-30T15:52:48Z</dc:date>
    </item>
  </channel>
</rss>

