Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
servicemanager
>
PrepareToHostSingle
servicemanager
.PrepareToHostSingle
PrepareToHostSingle(
klass
)
Prepare for hosting a single service in this EXE
Parameters
klass=None
: object
The Python class to host. If not specified, the service name is looked up in the registry and the specified class instantiated.