Programs that start at boot, run until shutdown and run in
background all the time under Windows are good candidates
for being turned into Windows Services.  They respond to
shutdown commands properly and can be fine-grained scheduled
as well.  For tutorial pick of a copy of Python Programming
on Win32 (Hammond and Robinson) and use Mark Hammonds Python
Windows extension library.

Larry Bates


Austin wrote:
> I wrote a program running on windows.
> I put the link of the program in "Start up" folder and let it executed 
> minimized.
> Every time when I open the computer, my program will be running in system 
> tray.
> 
> But if the user would like to shutdown the computer, the OS will show an 
> error about exception.
> 
> At first, I think windows will terminate all processes when it shutdown.
> So, if python has the way to dectect shutdown process, I can kill the 
> process in advance.
> 
> Thanks a lot. 
> 
> 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to