[mod_python] Form upload

Terry Macdonald terry.macdonald at dsl.pipex.com
Fri May 19 06:13:31 EDT 2006


"sys.stdout=sys.stderr=req"

This may be a dumb question but I'm not getting it...
What does the above line do?
Why does one want to set standard error and standard out to the request 
object?
What does printing to the request object do?
...and how does it work?

I'm missing something fundamentally object oriented here, aren't I?

I just see objects that are used to print stuff and then a request 
object which contains request information. I'm not getting the link.


Cheers


More information about the Mod_python mailing list