def index(self):
        """Produce HTTP response body of hello world app index URI."""
        # CherryPy will call this method for the root URI ("/") and send
        # its return value to the client. Because this is tutorial
        # lesson number 01, we'll just send something really simple.
        # How about...
        return 'Hello world!'
Produce HTTP response body of hello world app index URI.
cherrypy/tutorial/tut01_helloworld.py