Tutorial by Examples

The modules used in this example are part of pywin32 (Python for Windows extensions). Depending on how you installed Python, you might need to install this separately. import win32serviceutil import win32service import win32event import servicemanager import socket class AppServerSvc (win3...
This is a variation on the generic example. You just need to import your app script and invoke it's run() method in the service's main() function. In this case we're also using the multiprocessing module due to an issue accessing WSGIRequestHandler. import win32serviceutil import win32service imp...

Page 1 of 1