[Twisted-web] [Twisted-Python]How to display python script output and php path

Normand Savard nsavard at mapgears.com
Sat Apr 8 18:06:20 CDT 2006


Mike Pelletier wrote:

>On Wednesday 05 April 2006 09:54, Normand Savard wrote:
>  
>
>>Example of script:
>>
>>#!/usr/bin/env python
>>
>>print 'Allo'
>>    
>>
>
>I think this should be:
>
>---
>from twisted.web import resource
>
>class AlloResource(resource.Resource):
>    def render(self, request):
>        return "Allo"
>
>resource = AlloResource()
>---
>
>Mike.
>  
>
Mike,

Thanks a lot.  It will help.

Norm



More information about the Twisted-web mailing list