Hello.
Is there a way to pass multiple search terms (or wildcards as described in the documentation) to the arcpy function ListTables? I've tried passing in a comma separate list of strings and passing in an array of strings. Neither of those approaches worked.
I need to work with all the tables that start with 'Ad' and those that start with 'T'. What i am doing now is calling the ListTables function twice (see below). This gets the results I need, but it seems very heavy - i have to go to the workspace twice to get the list i'm after:
datalist = arcpy.ListTables("PES.IPM.Ad*") + arcpy.ListTables("PES.IPM.T*")
I'd rather make the call once, passing something like this instead:
datalist = arcpy.ListTables(["PES.IPM.Ad*", "PES.IPM.T**" ])
Is such a thing possible?
Thank you.