Read your animal. Thats the best advice i can offer you. 98% of the time you can tell when a snake is going to bite you, or has the personality to bite (ESPECIALLY with bps). I find smaller snakes (baby anything, my solomon islands, corn snakes, young carpet pythons, etc) bite more often.
Read their body language. You can easily tell a relaxed snake from a tense, anxious one. If you cant? Spend more time observing your animal.
If you have to snap something out of feeding mode? I have a small snake hook i'll tap someone on the head with. This usually gets them out of it. If its not a feeding response? Go away and come back later. I've found that trying to handle snakes that are obviously stressed will result in a lot more bites and a lot more stress for the animal.