1 # Copyright (c) Twisted Matrix Laboratories.
2 # See LICENSE for details.
5 This example demostrates how to render a page using a third-party template
9 $ twistd -n web --process=.rtl=twisted.web.script.ResourceTemplate --path /path/to/examples/
11 And make sure Quixote is installed.
14 from twisted.web.resource import Resource
17 class ExampleResource(Resource):
19 def render_GET(self, request):
22 <HEAD><TITLE> Welcome To Twisted Python </title></head>
31 resource = ExampleResource()