January 2000
Intermediate to advanced
672 pages
21h 46m
English
You need to manually close all
win32service
handles once you no longer need them; Python doesn’t
automatically do so. In future, it’s expected that Python will
automatically close handles, but it’s good practice to do it
yourself.
Let’s close the handles used in the examples:
>>> win32service.CloseServiceHandle(hs) >>> win32service.CloseServiceHandle(hscm) >>>
Read now
Unlock full access