Skip to content

Instantly share code, notes, and snippets.

@pelletier
Created April 16, 2010 16:58
Show Gist options
  • Save pelletier/368669 to your computer and use it in GitHub Desktop.
Save pelletier/368669 to your computer and use it in GitHub Desktop.
import cherrypy
class Application(object):
def index(self):
return "Hello World!"
index.exposed = True
wsgi_app = cherrypy.tree.mount(Application())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment