<?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: Search cursor not reading excel files with Python 64 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/search-cursor-not-reading-excel-files-with-python/m-p/406235#M31995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Uhh, that sucks. I thought there would be a work around or something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2015 20:59:03 GMT</pubDate>
    <dc:creator>MichaelSouffront</dc:creator>
    <dc:date>2015-06-15T20:59:03Z</dc:date>
    <item>
      <title>Search cursor not reading excel files with Python 64</title>
      <link>https://community.esri.com/t5/python-questions/search-cursor-not-reading-excel-files-with-python/m-p/406233#M31993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't read excel files with data access search cursor since I upgrade to Python 64 background processing. I have the office system drivers so that's not the problem. Also, I was able to read excels files fine before I upgraded. I even tried the same script in a computer running on Python 32 and then in mine with Python 64,.It worked in Python 32, but failed in Python 64 so I'm pretty sure the problem is with Python 64.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have anyone run into this or knows how to fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here a simple example of what I can't do anymore:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy

spreadsheet = r'spreadsheet.xlsx\Sheet1$'

with arcpy.da.SearchCursor(spreadsheet, 'name') as cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print row[0]&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:28:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/search-cursor-not-reading-excel-files-with-python/m-p/406233#M31993</guid>
      <dc:creator>MichaelSouffront</dc:creator>
      <dc:date>2021-12-11T18:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Search cursor not reading excel files with Python 64</title>
      <link>https://community.esri.com/t5/python-questions/search-cursor-not-reading-excel-files-with-python/m-p/406234#M31994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you not have to specify paths to the file or is it know already or added to arcmap?&amp;nbsp; All threads I have seen show examples with the full path specified.&amp;nbsp; For example,&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.stackexchange.com/questions/97846/how-do-i-know-if-i-am-running-64-bit-background-geoprocessing-on-arcmap-10-2" title="http://gis.stackexchange.com/questions/97846/how-do-i-know-if-i-am-running-64-bit-background-geoprocessing-on-arcmap-10-2"&gt;arcgis desktop - How do I know if I am running 64-bit background geoprocessing on ArcMap 10.2? - Geographic Information …&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT&lt;/P&gt;&lt;P&gt;This might explain it&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002100000040000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//002100000040000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;H3 style="margin-bottom: 0.2em; font-size: 14px; font-family: arial, helvetica, sans-serif; color: #000000;"&gt;Unsupported data types&lt;/H3&gt;&lt;P style="margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 10px; font-size: 13px; color: #4d4d4d; font-family: Arial, Helvetica, sans-serif;"&gt;The following data types are unsupported in 64-bit processing:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="xref" href="http://resources.arcgis.com/en/help/main/10.2/003n/003n00000007000000.htm" rel="/en/help/main/10.2/003n/003n00000007000000.htm" style="color: #007ac2;"&gt;Personal geodatabase&lt;/A&gt; (&lt;SPAN class="usertext" style="font-family: 'Courier New', Courier, monospace;"&gt;.mdb&lt;/SPAN&gt;)&lt;/LI&gt;&lt;LI&gt;Excel tables (&lt;SPAN class="usertext" style="font-family: 'Courier New', Courier, monospace;"&gt;.xls&lt;/SPAN&gt;, &lt;SPAN class="usertext" style="font-family: 'Courier New', Courier, monospace;"&gt;.xlsx&lt;/SPAN&gt;)&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 10px; font-size: 13px; color: #4d4d4d; font-family: Arial, Helvetica, sans-serif;"&gt;If your workflow involves any of the above data types, you can execute the tool in the foreground by disabling background processing or convert your data to a supported type, then execute the tool in the background.&lt;/P&gt;&lt;P class="notes" style="margin: 10px; border-top-style: solid; border-bottom-style: solid; border-top-color: #cccccc; border-bottom-color: #cccccc; font-size: 13px; color: #4d4d4d; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/P&gt;&lt;DIV class="note" style="margin: 0 0 0.3em; padding: 5px 5px 20px 0; font-weight: bold;"&gt;&lt;IMG alt="Note" class="note_img jive-image" src="http://resources.arcgis.com/en/help/main/10.2/rsrc/note.png" style="margin: 0 5px 0 0;" title="Note" /&gt;Note:&lt;P&gt;&lt;/P&gt;&lt;P style="margin-right: 0.5em; margin-left: 0.5em;"&gt;Coverage data is supported as input to tools, but it is not a valid output type.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 20:14:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/search-cursor-not-reading-excel-files-with-python/m-p/406234#M31994</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-06-15T20:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Search cursor not reading excel files with Python 64</title>
      <link>https://community.esri.com/t5/python-questions/search-cursor-not-reading-excel-files-with-python/m-p/406235#M31995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Uhh, that sucks. I thought there would be a work around or something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 20:59:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/search-cursor-not-reading-excel-files-with-python/m-p/406235#M31995</guid>
      <dc:creator>MichaelSouffront</dc:creator>
      <dc:date>2015-06-15T20:59:03Z</dc:date>
    </item>
  </channel>
</rss>

