For the past two days I've come home to my friends ball python being half way up the tank and his head in a s shape, (for hours at a time) she fed him last week and the tank is new so I don't know if this could be the reason why, but since I have 0 knowledge about pet python behavior I figure I would ask someone who knows more then I... attached is a picture of what hes been doing, also hes done it whether his heat lamp has been on or not.
[IMG][/IMG]