An Indian forest ranger has a brush with death when a python he'd captured in an eastern village attempted to strangle him in front of dozens of onlookers.