12 deep is to narrow for an adult carpet. You'll need twice that for the larger sub species. You might get away with 18 for some of the smaller ones. What type of carpet python?