Python: deletion of feature classes and tables except for those with specified names

Discussion created by richardpcarr on Nov 15, 2013
Latest reply on Nov 15, 2013 by csny490
I would like to add a piece of python to the end of arcpy script that will search a file geodatabase and delete all files except for those in a list that I will specify. I am not sure where to start - so any ideas would be most welcome!

geodatabase: C:\...\ParcelProcessingShell.gdb
files to retain: "Template_TBL", "dbt_Assessors", "PARCELS"