CHACHOENGSAO — It was less than a good morning for Atthaporn Boonmakchuay today. Not after a python slithered out of his squat toilet, bit his penis and refused to let go.

Atthaporn, who just regained consciousness, spoke from his hospital bed Wednesday afternoon to recount the ordeal he experienced in the bathroom of his home east of Bangkok in Chachoengsao province, which he’d entered for his morning routine of a shower and protracted bowel movement.

Atthaporn said he had just squatted over his toilet for his usual 30 minutes of morning business, according to Khon Khao Bang Pakong, when the python rose from the depths to fasten its jaws around the end of his penis.

As his wife Sawittree Shooyoung would tell Thairath, that’s when she heard him scream for help and call for a rope. Entering the bathroom, Sawittree found her bleeding husband fighting with the nearly 4-meter long python. She gave him the rope as requested.

Just before he passed out from loss of blood, Atthaporn grasped the serpent by its head and managed to use the rope to tie it to the bathroom door.

The 38-year-old man was taken to a nearby hospital, while rescue workers were left to deal with the rampaging reptile, whose body was still mostly stuck in the squat toilet.

Workers removed the toilet from the house, at which point they took a hammer to it to free the body of the beast.

Atthaporn is in stable condition. Flanked by grinning doctors, he told reporters that he was careful to unhinge the reptile’s jaws rather than forcing it free and risking permanent damage to his self.

Authorities suspect the python entered the home through a pipe that led it into the toilet. It will be released back to nature, Thairath reported.