Anything that makes them feel secure helps. Definitely have a hide for a young carpet python - something small and tight. Perches are good too, they'll be all over them all night long and they'll readily grab food from a perch above their prey - hides and perches make them feel secure and allow their natural instincts & behaviors kick in.
Hope this helps.
Shea Peterson