What you really need to do is feed the animal in his enclosure
Snakes can easily be conditioned to know when feeding day is, a simple 7 day routine will do that, then on feeding day your snake knows it will be fed. Knowing that the last thing you really want to do is move your snake.
Moving or trying to interact with a snake in feeding mode will lead to what you have been experiencing, you will get bit, so the best thing is to feed the animal in his enclosure.
There are things I do not do on feeding day, I do not handle snakes, do not clean their cage and do not change their water![]()