I always check the glass because they generally burrow under the bedding and lay directly on the glass anyways. Assume the snake will find the hottest spot in the enclosure, make that spot between 88-92 otherwise you can end up with a burned snake. Good luck.
Edit: and ball pythons don't bask...so I'm assuming you mean ambient temps? Ambient temps shouldn't be in the 90's, they should be somewhere in the low to mid 80's...but that's debatable.