

def FeatureClassesFromWorkspace(inputTDSFeatureDataset):
    ' get a list of feature classes in a workspace '
    arcpy.env.workspace = os.path.dirname(inputTDSFeatureDataset)
    tdsFeatureClasses = arcpy.ListFeatureClasses('*', 'Polygon', os.path.basename(inputTDSFeatureDataset))
    return tdsFeatureClasses

dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/suitability/toolboxes/scripts/GenerateIntermediateLayers.py FeatureClassesFromWorkspace/original