class HelloWorld(object):

    def index(self):
        return 'Hello World!'
index.exposed = True
cherrypy.quickstart(HelloWorld())
How do I use python for web development without relying on a framework?