•  A Burmese python is seen on display at the registration event and press conference for the start of the 2013 Python Challenge on January 12, 2013 in Davie, Florida.

A Burmese python is seen on display at the registration event and press conference for the start of the 2013 Python Challenge on January 12, 2013 in Davie, Florida. (Photo : Getty Images/Joe Raedle)

A Thai man was recently attacked by a python during his routine visit to the toilet. The 10-foot python slid up through the plumbing hole of the lavatory and bit the man on his penis.

The Thai man, recognized as Attaporn Boonmakchuay, is recovering in a hospital after surviving the bloody encounter with the python. Boonmakchuay continued to battle with the snake for at least half an how before help finally arrived.

Like Us on Facebook

Boonmakchuay was using a squat toilet when the incident happened. The snake latched its jaws onto the man's organ, leaving him in intense pain. Boonmakchuay's battle with the snake ended only after his neighbor came to his rescue with a knife and a rope.

The 38-year-old man's wife tied the rope around the neck of the snake, a move that enabled Boonmakchuay to open the snake's jaws. The python lost its strength and it took almost 30 minutes for Boonmakchuay's wife and neighbor to set him free of the snake, according to the Associated Press. The incident took place on May 25, Wednesday.

The publication further revealed how the emergency workers arrived at the site of the incidents and started to dismantle the Asian-style squat toilet while the python remained interlaced between the plumbing hole. The snake was finally dragged and removed from the toilet and released back into the wild.

Boonmakchuay, soaked in blood, was immediately transferred to the hospital for treatment. Although Boonmakchuay still remains in the hospital, the doctors are confident that he will recover through the incident.

"He has a really good attitude... even though his own wife and children were in shock. He's been smiling and giving interviews all day from his bed," Dr. Chutima Pincharoen, hospital director, told the publication.

Pincharoen further said that the man is likely to recover from the python bite, except if there is any infection. It would have been a bigger problem in case the bite had gone to the urinary tract, Gizmodo has learned

This is not the first time that someone has discovered a snake in the plumbing. There have been other incidents too, where people have discovered such creatures slithering up their toilets.

The following video shows emergency workers struggling with the python who bit the Thai man: