A window in the room is enough.

I know people that keep their balls in complete darkness 24 hours and day and they do fine too.

The only thing that I would keep away from is 24 hours a day of light.

Darker is better if you had to choose, ball pythons are nocturnal.

-adam