Should have enough space equal to at least the length of the snake. A 10 gallon tank is near impossible to maintain a proper thermal gradient in not to mention humidity control.
Not sure what regulating controls you have on your heat sources but everything providing heat must be regulated by a thermostat or at least rheostat (dimmer).
Having a single hide makes it very difficult for a ball python to have secure locations to regulate their body temperature. I am not sure anyone on here would recommend having a single hide for a ball python.
If that light is a heat source it would need to be on 24/7 to provide ambient heat control which means the BP does not have any day/night cycle. One main reason CHEs are recommended is they do not produce light.
That hide does not seem to be an adequate fit to give your snake a proper hide to retreat into.
Ball pythons being the timid snakes they are often do well when the back and sides of the tank are blocked off so they do not feel so exposed.
Adult ball pythons do best in at least 36 by 15 or wider inch tanks. Ideal would be a PVC enclosure such as the T10 model from Animal Plastics or a comparable size from Reptile Basics or Boaphile.
Maintaining the following thermal gradient will provide proper heating for your snake. 88-92 under the hot side hide measured from the inside bottom of the enclosure's floor, an ambient air temperature between 75 and lower 80s not falling below 75 for extended periods, and a temperature inside the cold side hide above 75 degree but ideally 10-12 degrees cooler than the hot side measured form the top of the substrate inside the cool hide.
Humidity staying above 50% and below 90% provided not condensation of moisture on the side of the enclosure or moist substrate.
Lastly, I would look at the sticky posts in the husbandry sub section for how to setup either tubs, glass, or PVC and the caging sub section for posts on enclosures by members here.