The ball python will not be able to kill the guinea pig. Naturally, no, do not have them out together, but the ball python will pretty much leave the guinea pig alone even if it does get out. I used to keep guinea pigs and bunnies before I had my chinchillas, and I have had ball pythons that escaped and got into the mammals' cages. I heard the mammals making a ruckus well before there were any issues, and honestly I was more worried about what the guinea pig or bunny would do to the snake than what the snake was going to do to them. My chinchillas get MAD if there are any reptiles out and about near them, so their alarm calls alert me before the snakes ever get near.
I always worry more about what would happen if the mammals got ahold of the snakes - they are larger and their teeth are sharp, and they'd injure or kill the snake just to remove a threat. A snake isn't going to attempt to kill something just because, they'll strike to defend themselves but they're not going to kill unless they plan on eating. For this reason, your snake has more to fear from the guinea pig than the guinea pig has to fear from the snake.
-Jen