Как отделить от конкретного Charecter tfrm конец строки

print x.rpartition('-')[0]
Inquisitive Ibex