arcpy.ListFeatureCLasses()# only returns the feature classes
arcpy.ListTables() # only returns the tables
arcpy.ListFiles() # returns all files in the workspace, not the binded feature classes or tables.
Solved! Go to Solution.
If you are 10.1 and above, you can look into the arcpy.da.Walk.
Otherwise, you can loop thru a gdb looking for feature datasets and set the arcpy.env.workspace to each Feature Dataset and list all Feature classes in each one. You should be able to list all Tables and Rasters from the top of the gdb itself as these cannot be stored inside Feature Datasets.