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.
Britney Spears on kissing Ryan Gosling, Justin Timberlake in the Mickey Mouse Club
18-year-old elf alleges mall Santa pinched her buttocks on the job