I would take the snake to the vet if possible. Diarrhea is not a good sign. Of course, pythons can last months without food, but not if they aren't healthy.