Snake had a right to live it’s snake life somewhere outside of captivity.
Since it was a reticulated python,a non-native species, releasing it into the wild would be wrong for a lot of reasons. There’s no way it was ever going to get to live outside of captivity. That doesn’t excuse the owner from abandoning it. He or she could have taken it to a local animal shelter where it would either be cared for or put down humanely.