Welcome to the site
You need to take the ball python to a qualified person(either a reptile vet or snake breeder) to have it sexed. There are two methods: probing and popping. Both need to be performed by an experienced person, or harm may come to the snake. There are no other reliable methods of sexing.
What kind of setup are you using for the ball python?
Snakes don't fry themselves and not 'pooping' is generally caused by husbandry problems, so I would suggest that you take a look at our caresheet to learn a bit about ball python husbandry.
http://www.ball-pythons.net/modules....warticle&id=52
Let us know if you have any questions.