[python-win32] Detect OS shutdown or user logout

python at bdurham.com python at bdurham.com
Tue Apr 27 04:59:21 CEST 2010


Any suggestions on how I can have a Python script detect when its
operating system is shutting down or a user is logging out?

The script in question is a local web server (based on CherryPy).

Thank you,
Malcolm


More information about the python-win32 mailing list