Cómo eliminar al usuario del grupo
gpasswd -d user group
# or
usermod -R group user_name
Salo Hopeless
gpasswd -d user group
# or
usermod -R group user_name
g.user_set.remove(your_user)