import cherrypy class Server(): def __init__(self): pass @cherrypy.expose def index(self,quote="nothing"): return "

Hi

you said %s

" %quote @cherrypy.expose def default(self,*path,**kwargs): return "Hello world"