From python how can I build a list of all feature classes in a geodatabase, including inside feature datasets? The standard example only lists FC's at the top level of the gdb:
import arcgisscripting, os
gp = arcgisscripting.create(9.3)
gp.workspace = 'd:\scratch.gdb'
fcs = gp.ListFeatureClasses()
for fc in fcs:
print fc
Please indicate which Arcgis version your answer applies to (I'm looking for 9.3 but we might as well collect all versions in one place).