A day/night cycle should be provided to allow them to properly regulate their behavior. However, this can be a simple as keeping them in a room with a window that lets in any natural light. Any other lighting is really only for the benefit of the keeper.
Ball pythons don't require UV light to synthesize vitamin D. Some keepers provide it in low levels for other reasons, but this is optional and really an important thing for new keepers to consider. Better to worry about making sure you have the proper temperature gradients, humidity, etc.