Black-headed python

They are terrestrial snakes, which seek shelter in self-dug or abandoned burrows.

An excerpt from the article 18 facts about Black-headed python
They spend most of the day hidden in a burrow, sticking their heads out to warm their bodies. They may also use burrows to cool their bodies.