A python has received what is believed to be the world's first cancer treatment for a snake.