<?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.ListTables in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-listtables/m-p/1332678#M68917</link>
    <description>&lt;P&gt;I think I can get it with this?&amp;nbsp; Testing now..&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;FCS = &lt;SPAN class=""&gt;set&lt;/SPAN&gt;(arcpy.ListTables(&lt;SPAN class=""&gt;"X_*"&lt;/SPAN&gt;) + arcpy.ListTables(&lt;SPAN class=""&gt;"*_Y"&lt;/SPAN&gt;))&lt;/PRE&gt;</description>
    <pubDate>Tue, 26 Sep 2023 20:37:51 GMT</pubDate>
    <dc:creator>kapalczynski</dc:creator>
    <dc:date>2023-09-26T20:37:51Z</dc:date>
    <item>
      <title>arcpy.ListTables</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-listtables/m-p/1332644#M68916</link>
      <description>&lt;P&gt;I am looking for three table names in my GDB.&amp;nbsp; Is there a way to put this into one statement&lt;/P&gt;&lt;P&gt;Im trying to use wildcard with * to grab all instances of that name&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;ListTables ({wild_card}, {table_type})&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;tablesList1 = arcpy.ListTables("*TBL_BMP_*")
tablesList2 = arcpy.ListTables("*SDE_BMP_Component*")
tablesList3 = arcpy.ListTables("*SDE_BMP_Inventory*")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;tablesList1 = arcpy.ListTables("[*TBL_BMP_*,*SDE_BMP_Component*,*SDE_BMP_Inventory*]")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 20:00:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-listtables/m-p/1332644#M68916</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2023-09-26T20:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.ListTables</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-listtables/m-p/1332678#M68917</link>
      <description>&lt;P&gt;I think I can get it with this?&amp;nbsp; Testing now..&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;FCS = &lt;SPAN class=""&gt;set&lt;/SPAN&gt;(arcpy.ListTables(&lt;SPAN class=""&gt;"X_*"&lt;/SPAN&gt;) + arcpy.ListTables(&lt;SPAN class=""&gt;"*_Y"&lt;/SPAN&gt;))&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Sep 2023 20:37:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-listtables/m-p/1332678#M68917</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2023-09-26T20:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.ListTables</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-listtables/m-p/1336276#M68923</link>
      <description>&lt;P&gt;This is untested, but you get the idea.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;tables_found = []

for wildcard_name in ["*TBL_BMP_*", "*SDE_BMP_Component*", "*SDE_BMP_Inventory*"]:
    tables_found += arcpy.ListTables(wildcard_name)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 09 Oct 2023 13:47:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-listtables/m-p/1336276#M68923</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2023-10-09T13:47:59Z</dc:date>
    </item>
  </channel>
</rss>

