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.
Duggar sisters unveil Christian dating rules in new book
LGBT community has 'bullied the American people': Bachmann