Police said the pedestrian heard noise coming from the dumpster Tuesday night and looked inside to find the large snake slithering around, the Canadian Broadcasting Corp. reported Wednesday.
The pedestrian called police and officers brought in the animal services department to capture the snake.
Police said they do not know how the python ended up in the dumpster.
Ray Liotta sues skin care company over use of likeness
Millions of Getty images now available for free via embed tool