arcpy.mapping module also has a
ListTableViews() function that you can use to obtain a list of standalone tables that are contained within a map document. In this recipe, you will learn how to use the
ListTableViews() function to create this list of tables.
In addition to providing the ability to generate a list of layers in a map document or data frame, the
arcpy mapping module also provides a
ListTableViews() function that generates a list of tables.
ListTableViews() only works with map document files and the data frames contained within. Layer files do not have the capability of holding tables.
Follow these steps to learn how to get a list of standalone tables in a map document: