Controlling Services with Python
As a further introduction to Windows NT Services, we will discuss some of the functions available from Python to control existing services.
As is common with Python extensions, there are two Python modules
that can work with services: The
win32service
module implements the Win32 service
functions, while the
win32serviceutil
module provides some handy utilities
that utilize the raw API. We begin with a discussion of the Win32
functions exposed by the win32service
module
before moving to some of the utilities.
Get Python Programming On Win32 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.