from win32com.client import GetObject
group = GetObject('LDAP://CN=groupname,OU=Groups,DC=blah,DC=local')
group.Remove('LDAP://CN=username,OU=Users,DC=blah,DC=local')
Remove AD user from Security group using Python