Detect OS shutdown or user logout across different operating systems

python at bdurham.com python at bdurham.com
Tue Apr 27 04:09:12 CEST 2010


Is there a OS portable way to have a Python script detect when
its operating system is shutting down or a user is logging out?

If not, any Windows specific tips on how to detect these events?

Thank you,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100426/11b65f96/attachment.html>


More information about the Python-list mailing list