I picked up a small generator pretty cheap and enough extension cord to keep my snake warm or my food cold depending on which season power outages occur.
In a real pinch you could even heat water on a BBQ or a fire and use hot water bottles to add heat to the snakes habitat. A bit of a pain as you will have to watch temp.s closer than with a small generator.