When that happens, animals may compete in ways scientists do not often get to observe in the wild.
Attacks on humans are rare, but they can happen.
Since January, the Kubang Pasu Civil Defence Force has handled 305 snake-capture cases.
Reticulated pythons can take down large mammals, such as wild boar, deer and dogs, but sometimes the tables turn.