class SYSTEMTIME(ctypes.Structure):
    _fields_ = [('wYear', ctypes.c_int16), ('wMonth', ctypes.c_int16), (
        'wDayOfWeek', ctypes.c_int16), ('wDay', ctypes.c_int16), ('wHour',
        ctypes.c_int16), ('wMinute', ctypes.c_int16), ('wSecond', ctypes.
        c_int16), ('wMilliseconds', ctypes.c_int16)]
SystemTime = SYSTEMTIME()
Make Python respond to Windows timezone changes