from twisted.web import resource page = '''Dynamic Page

Dynamic Page served by Twisted Matrix

''' class Resource(resource.Resource): def render(self, request): return page resource = Resource()