99% of the time when an otherwise healthy ball python is refusing to eat the problem is a husbandry issue ... Temps, security, lighting, etc ... this is especially true for balls less than a year of age.
1. Temps should be 82-84 on one side, 92-94 on the other and measured with a good digital thermometer.
2. The snake should have plenty of small tight hides that it can retreat to and feel it's body touched on all sides.
3. Humidity should be 50% - 60% measured with a good digital hygrometer.
4. Handling should be kept to an absolute minimum until a solid pattern of eating is established.
-adam