In this chapter, we have covered some advanced capabilities of Python and Windows NT Services. We discussed the key concepts behind:
The Windows NT Service Control Manager
The Windows NT Event Log
The Windows NT Performance Monitor
We have presented three services written completely in Python, ranging from the trivial, to a complete service implementation that writes key events to the Event Log, provides core performance statistics via the Performance Monitor, and uses named pipes to communicate with clients.