On 6/22/05, Austin <austin at maxtronic.com.tw> wrote: > My program is running on windows and it is wrritten by Python and wxPython, ... > Is there any way to dectect windows shutdown or reboot? Will wx.EVT_END_SESSION or wx.EVT_QUERY_END_SESSION help? - kv