[Twisted-web] How to display python script output and php path
Normand Savard
nsavard at mapgears.com
Fri Apr 7 10:49:05 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 for your answer. Yes I used a simple print in my script. Could
you point me out some documentation and/or examples on how to do that?
I appreciate your help.
Norm
More information about the Twisted-web
mailing list