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.