How can I find out, using the
time
module, whether it is currently daylight savings time (DST) in the place and date where I currently am?
Assuming your computer is set to the correct timezone:
import time
is_dst = time.daylight and time.localtime().tm_isdst > 0