A terrarium should never be placed where sunlight can directly shine into it, think hot-car-in-the-sun-cooking-your-animal.
Ball pythons do not need much light as they are nocturnal critters. In the wild they live underground during the day and they come out at night to hunt.
What did you use to seal the OSB?