They make a moonlight bulb. Of course even in the wild there would be some light from the moon and stars. I don't think having a din light on for a short period of time would bother your snake much as long as you don't leave it on all night.
Sent from my Moto E (4) using Tapatalk