He managed to tie rope around the snake's head and attach it to the bathroom door. Moments later he collapsed and was rushed to hospital, suffering massive blood loss from his ordeal.
According to the Mirror, he is in a stable condition in hospital.
Video footage shows emergency staff trying to ply the python from pipes under the toilet system and using hammers to smash it free.
Bangpakong News reported the reptile was eventually removed and placed in a bag before being released back into the wild.
Reports also claim this isn't the first time the snake had swam up Boonmakchuay's plumbing and into his bathroom.
- nzherald.co.nz