A woman in Australia got a great shock when she woke up to find a huge snake slithering next to her in bed.

The snake, which was identified as a carpet python, had entered the home through an open window, Australia's 9 News reported.

After the snake entered the room, it slithered under the bed's cover during the night and remained there until morning, the report said.

The woman, who has not been identified, immediately called Brisbane & Gold Coast Snake Catchers to remove the reptile from her home. Experts arrived at the scene and captured the python, before relocating it to a safe location.

It was not clear when the incident took place.

Carpet pythons are non-venomous snakes, feed on variety of birds and mammals, including marsupials, and are found everywhere in Australia except Tasmania, according to Sea World. These snakes can grow up to 13 feet. From eastern coastal rain forests to central desert areas, carpet python live in variety of habitats and often seek shelter in trees or roofs of houses.

Sightings of snakes have increased in the summer months as the reptiles become more active during this time and the heat creates energy to help them digest food. This is also a mating season for snakes.

python
This representational image shows a python on a tree inside his enclosure at the Dhupguri snake park in India, Feb. 8, 2006. REUTERS/Rupak De Chowdhuri

In October, International Business Times spoke to a snake catcher regarding why snakes show up in some unusual and unexpected places.

"Smaller species often get brought inside the home by a cat, larger species end up inside by accident through cat/dog doors and/or flyscreen holes due to temperature. It may be too hot outside so they need to cool off inside on tiles. They also sneak in through doors and windows that are left open for longer than needed," Joshua Castle, a snake catcher from Brisbane, Australia, told IBT.

Last month, a 10-week-old puppy was attacked by a 6-foot-long python after it slithered into a home in Australia. When the owners heard the puppy bark, they came to check on him and found the canine in a pool of blood.

The carpet python had coiled itself around the dog and its fangs were on the dog's neck. The owners then managed to pull the snake off the puppy and save its life.