ListDataset not working

Discussion created by fraxinus on Feb 23, 2012
Latest reply on Feb 23, 2012 by fraxinus
So I am setting my workspace properly - to a folder full of shapefiles, then doing a arcpy.ListDatasets() - and it returns an empty list.

Then I try arcpy.ListFeatureClasses() and I get a huge list.

This is not how it should be, is it? I also tried with other arguments to arcpy.ListDatasets...