Is it safe to have a ball python and cat in the same house?

I was thinking about getting a ball python but I already have a pet cat. I’m not exactly worried about the snake hurting the cat but vis versa. Is there a way I could have both?
7 answers 7