import arcpy from arcpy import env env.workspace = r'Database Connections\MySDEgeodatabase.sde' fcList = arcpy.ListFeatureClasses()
for fc in fcList: desc = arcpy.Describe(f) print '{0} {1}'.format(desc.name, desc.dataType)
Solved! Go to Solution.
fcList = arcpy.ListFeatureClasses() for fc in fcList: desc = arcpy.Describe(fc) print '{0} {1}'.format(desc.name, desc.dataType)
fcList = arcpy.ListFeatureClasses() for fc in fcList: print fc