First of all, whether or not you raise your snake in the basement, garage, bedroom, or in Alaska, they have the same heating and husbandry requirements needed to survive, or they will get sick and die. They don't need extra lighting just for lighting's sake. They're nocturnal animals, but would benefit from a little bit of light just for a day/night cycle.
And what kind of python? If it's a ball python, read through the caresheet: https://ball-pythons.net/forums/show...ius)-Caresheet