Step one, as everyone has started troubleshooting on, is to get your temperatures and humidity where they should be, and make sure the hides are right. Those are the three most important things to a ball python.
Step two, take a fresh fecal sample to a vet, and get a parasite check done. Internal parasites can cause snakes to be irregular, poor feeders, so ruling them out is ALWAYS a good idea when you get a new animal that doesn't eat well.