Redirecting stderror to a browser
Shawn Dyer
sdyer7073 at my-deja.com
Mon Dec 20 17:28:15 EST 1999
Try:
sys.stderr=sys.stdout
In article
<Pine.WNT.4.21.9912201354450.116-100000 at wks_3.e-shopwork.com>,
NULL at my.pc wrote:
> Newbie here, slowly consuming a large book but I need to know this
now...
>
> Using Python 4 CGI, I'd like to redirect the errors to the browser
window, so I
> get meaningfull errors rather than the typical "500 Internal server
error". I
> guess I could redirect it to a file, but seing immediately on the
browser would
> be much faster to work with. Cheers
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list