stopping a python windows service

Peter Hansen peter at engcorp.com
Wed Aug 17 22:35:54 EDT 2005


DK wrote:
> I may have taken your code example too literally. I tried putting in
> the check for 'shutdownEvent.isset()' but it's failing at run time.
> It's looking for a global variable, I guess.

Or perhaps "it" is just looking for correct capitalization, since Python 
is case sensitive.  Try shutdownEvent.isSet() instead.

-Peter



More information about the Python-list mailing list