Ball Pythons are a ground/borrowing species and are nocturnal (active at night).
So a) UVB does not benefit them and b) you should not expect him to be active during the day.
UVB does benefit basking creatures, such as many lizards. So, not wrong in your thinking, just not applicable to BP's and many snakes.