Try VBA. It has a better support for com than python.
You want to look at the IFeatureManager interface first.
Go to Tools > Macro > New...
and paste this:
'This example shows how to print all features names and their type in the immediate window
'by JLILI Amen - CADHero.com
Dim swApp As SldWorks.SldWorks
Dim swModel As SldWorks.ModelDoc2
Set swApp = Application.SldWorks
Set swModel = swApp.ActiveDoc
Dim features As Variant
features = swModel.FeatureManager.GetFeatures(False)
For Each feature In features
Debug.Print "Feature Name: " + feature.Name + "[" + feature.GetTypeName + "]"
To show the Immediate window, go to View > Immediate
Thank you very much