There is an event that win32 sends to each thread to tell it to shut
down.  You can grab that with the win32all extension (I am not on
windows right now so I can't look it up in the documentation).

-Chris

On 6/22/05, Konstantin Veretennicov <[EMAIL PROTECTED]> wrote:
> On 6/22/05, Austin <[EMAIL PROTECTED]> 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
> --
> http://mail.python.org/mailman/listinfo/python-list
> 


-- 
Christopher Lambacher
[EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to