Can anyone please tell me why this is not working? When I use the FeatureClassToFeatureClass_conversion geoprocessing tool, I do not want any of the existing fields to be in the output file.
fldmap = arcpy.FieldMappings()
remfldmap = fldmap.removeAll()
arcpy.FeatureClassToFeatureClass_conversion(lyr,GDB,fc,"",remfldmap,"")