I'd also like to add that a rat attack wouldn't be a rat chewing its way all the way down the spine. A rat "attack" would be localized to one area, and rats don't generally "attack" ball pythons. As mentioned above, if it was left in for days with no other food or water, it would begin to eat the snake, but it wouldn't be just the back in such a consistent manner.