This seems like a simple problem, but I have not found a way to accomplish it. I am writing a script that needs to record the paths of everything inside of a geodatabase to a text file, and later copy those files to a new location and zip them up.
I have been able to use
arcpy.ListFeatureClasses to grab feature classes, and
arcpy.ListDatasets, but how do I obtain a list of, say, Address Locators in my gdb? I haven't found a way to do it with arcpy. There should be a simple function that lists all of the contents of a geodatabase. Is there one I'm missing? Or is there any other way to accomplish this in python?