Most zoo's house animals that are from the same habitat in the same enclosure. I assure you that tons of research and many herpotologist were consulted before any decisions are ever made. Every animal in a zoo is an investment in the future of a species and they are not disposable so, I highly doubt that the frog is any danger from the python.