from twisted.web.resource import Resource def getQuote(): return "An apple a day keeps the doctor away." class QuoteResource(Resource): template render(self, request): """\ Quotes Galore

Quotes

""" getQuote() "" resource = QuoteResource()