There is nothing good about this scenario period. Snakes aren't domestic animals and should never be thought of or treated as such. The ball python will get the worst of that deal whether its just stress or getting hurt which could lead to a infection/sickness ect...
Also I know your only talking about a Ball Python but don't forget Pythons & several other snakes are Prey driven...he might just tag the living heck out if of you hahahha.
My Burmese would cause a Nightmare if he was loose & my Dogs came into the room I keep him in... I have had a handful of situations over 29 years where one of my dogs (and once a Cat) came into the room I kept my snakes in and I thought the Glass was going to shatter when he started striking it!