>>> import cherrypy >>> >>> class HelloWorld(object): ... def index(self): ... return "Hello World!" ... index.exposed = True ... >>> cherrypy.quickstart(HelloWorld()) [12/Jul/2013:02:03:27] ENGINE Listening for SIGHUP. [12/Jul/2013:02:03:27] ENGINE Listening for SIGTERM. [12/Jul/2013:02:03:27] ENGINE Listening for SIGUSR1. [12/Jul/2013:02:03:27] ENGINE Bus STARTING CherryPy Checker: The Application mounted at '' has an empty config. [12/Jul/2013:02:03:27] ENGINE Started monitor thread 'Autoreloader'. [12/Jul/2013:02:03:27] ENGINE Started monitor thread '_TimeoutMonitor'. [12/Jul/2013:02:03:27] ENGINE Serving on 127.0.0.1:8080 [12/Jul/2013:02:03:27] ENGINE Bus STARTED