Execute code after Shut Down command given --- How?

Virgil Stokes vs at it.uu.se
Thu Sep 22 06:25:30 EDT 2011


I would like to execute some Python code (popup message to be displayed) when 
Windows Vista/7 is shut down. That is, this code should execute after  "Shut 
Down" is given from the "Shut Down Windows" popup, but before the actual shut 
down sequence starts.

How to write Python code to accomplish this task?




More information about the Python-list mailing list