From the story it sounds like the guy had access to the interior of the house somehow. The owner found the snake with a knife in it, which I'm sure means that the owner was not in the house during the assault.