<?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: Path for table shows as not existing. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/path-for-table-shows-as-not-existing/m-p/1204290#M65364</link>
    <description>&lt;P&gt;Well that worked. I don't know why the file explorer method didn't work but I guess this is a specific file structure that is unique to ArcGIS which probably explains why it didn't recognize it.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;@Anonymous User.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2022 19:08:37 GMT</pubDate>
    <dc:creator>RPGIS</dc:creator>
    <dc:date>2022-08-18T19:08:37Z</dc:date>
    <item>
      <title>Path for table shows as not existing.</title>
      <link>https://community.esri.com/t5/python-questions/path-for-table-shows-as-not-existing/m-p/1204183#M65356</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I ran a few tests to see if a table exists in geodatabase. For some reason the script returns false despite having a proper path and everything. All other features can be accounted for but I don't know why this path is not returning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import os
import arcpy

Table = # Insert table path
workspace = # Insert workspace path
if os.path.exists(Table):
    print ('{} exist'.format(Table))
else:
    print ('{} does not exist'.format(Table))

walk = arcpy.da.Walk(workspace, 'Table')

for root, directory, filenames in walk:
    for file in filenames:
        print (file)
        path = os.path.join(root, file)
        print (os.path.exists(path))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is an actual path to the table but for some reason it doesn't seem to appear. The table also has attachments enabled but I don't know if this impacts whether or not the file exists. Here is the print result that I get.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;C:\**\OverflowReportAtt does not exist
OverflowReportAtt
False
OverflowReportAtt__ATTACH
False
OverflowReportAtt__ATTACHREL
False&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would greatly appreciate any help on this. If this is a bug, then I will report as such.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 14:22:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/path-for-table-shows-as-not-existing/m-p/1204183#M65356</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2022-08-18T14:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Path for table shows as not existing.</title>
      <link>https://community.esri.com/t5/python-questions/path-for-table-shows-as-not-existing/m-p/1204186#M65357</link>
      <description>&lt;P data-unlink="true"&gt;Maybe try using arcpy's &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/exists.htm" target="_blank" rel="noopener"&gt;Exists&lt;/A&gt; function for the tables.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 14:33:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/path-for-table-shows-as-not-existing/m-p/1204186#M65357</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-08-18T14:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Path for table shows as not existing.</title>
      <link>https://community.esri.com/t5/python-questions/path-for-table-shows-as-not-existing/m-p/1204290#M65364</link>
      <description>&lt;P&gt;Well that worked. I don't know why the file explorer method didn't work but I guess this is a specific file structure that is unique to ArcGIS which probably explains why it didn't recognize it.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;@Anonymous User.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 19:08:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/path-for-table-shows-as-not-existing/m-p/1204290#M65364</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2022-08-18T19:08:37Z</dc:date>
    </item>
  </channel>
</rss>

