import arcpy workspace = r'c:\data' arcpy.env.workspace = workspace datasets = arcpy.ListFeatureClasses("prefix_*") for dataset in datasets: arcpy.Delete_management(dataset) print "done deleting datasets"
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.