There are two ways to house your snake. The first and most popular way is in a terrarium. The second method (Used more commonly by breeders) is in a rack system.
The size of your enclosure should not exceed one and half times the length of your snake and should not be less than two thirds the length of your snake. In a terrarium, I prefer to go a little larger so that the enclosure is not too cluttered.
There are many who believe that there is no maximum size to the enclosure - provided the snake has plenty of hides and ample foliage. Ball pythons are known to be shy animals and (like other snakes) will seek comfort in a small and dark space.