All pastes #156211 Raw Edit

Something

public text v1 · immutable
#156211 ·published 2006-08-31 16:53 UTC
rendered paste body
import cherrypy

class Root:
    def index(self):
        return "foo"
    index.exposed = True

cherrypy.tree.mount(Root())
cherrypy.server.start()
cherrypy.engine.start()