cherrypy.process.win32 – Bus support for Windows

Windows service. Requires pywin32.

Classes

class cherrypy.process.win32.ConsoleCtrlHandler(bus)

A WSPBus plugin for handling Win32 console events (like Ctrl-C).

handle(event)

Handle console control events (like Ctrl-C).

class cherrypy.process.win32.Win32Bus

A Web Site Process Bus implementation for Win32.

Instead of time.sleep, this bus blocks using native win32event objects.

wait(state, interval=0.1, channel=None)

Wait for the given state(s), KeyboardInterrupt or SystemExit.

Since this class uses native win32event objects, the interval argument is ignored.

class cherrypy.process.win32.PyWebService

Python Web Service.