Using Python in ASP: where does 'print' statements prints?

Mark Hammond mhammond at skippinet.com.au
Fri May 16 20:31:19 EDT 2003


Vadim Filatov wrote:

> I know that 'print'  something will not produce output
> to the browser. The question is that for debug purpose
> it would be nice to 'print' and see results. Is there
> any file where Python logs usual printing to console?
> Thanks.
> 
> 
If you import the win32trace module, Python print statements can then be 
seen via the Python "Trace Collector" tool.

Mark.





More information about the Python-list mailing list