Together? No. Ball pythons are from Africa and carpet pythons are from Australia, so they have different climate needs. Also, both snakes can be extremely territorial and rarely come in contact with other snakes in the wild. Housing two together is just asking for trouble.