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

Normand Savard nsavard at mapgears.com
Sat Apr 8 18:12:01 CDT 2006


Jean-Paul Calderone wrote:

>
> If the output is going to a terminal window, it's not being sent to 
> the right place.  I am not sure what kind of external Python script 
> you are trying to use, but it sounds like it is using "print" and 
> expecting the results to end up on a web page.  Generally speaking, 
> this isn't how dynamic resources in Twisted Web work - you need to 
> write something to the request object for it to end up in the browser.
>
Thanks.  It makes me understand some elements about Twisted I didn't 
understand first.

Norm



More information about the Twisted-web mailing list