Awww!!!!! The poor thing must have been so cold. Remember this African rock python( Of course, is the biggest snake in Africa and other continents as well) that was discovered inside the engine compartment of a car near the Kruger National Park in South Africa. Y'all shouldn't be worried as this is a normal occurrence in some places. Remember that in the Southern Hemisphere, winter's setting in at present, so the nights are getting colder. Pythons (and other snakes) have been known to climb up into warm vehicle engine compartments at night to enjoy the heat, and are sometimes found inside in the morning, particularly in rural areas.
No word on whether the snake was allowed to leave in its own good time, or ended up as a snack over the coals. (Pythons aren't bad eating. They taste like - yes, you guessed it - chicken!)