Our two ball pythons are in glass tanks (one is a 40g and one is a 60g). To help with heat we have taped black foam poster board (from the art section) to the back and sides behind the backgrounds and have bought clear plastic vinyl that covers the mesh top (with a piece of black tint across that to give them more of a cave-like feel and humidity retention) with cutouts for the dimmable CHEs (help maintain the ambient air temp). Both tanks have a UTH on each side, both with a thermostat - one for cool side (stays around 76-80) and one for the hot side (around 88-91).
For the humidity, as mentioned in previous posts, a humid hide would suffice. We went a step further (we have foggers hooked up with a humidity gauge, that is adjustable) but I don't think it is necessary; they rarely come on and are placed so the "fog" falls on their log hides so they can easily stay out of it.