On Mon, 2002-11-25 at 15:43, Edmund Lian wrote: > Developing applications without shell access seems a bit masochistic > though... as a matter of curiosity, how does he/she edit the PSP files? On > the balance I think the user is probably better off developing the app on > his/her local machine prior to upload the PSP scripts to the other machine > that he/she doesn't have shell access to.
If the user doesn't get access to a shell for concern for security, it should be noted that giving the user access to PSP gives them very easy access to a shell-like environment. But anyway, the OP might be able to fiddle with the writeExceptionReport method of Page. You could capture output of print, for instance, and then spit it out in that method. For a more general solution, I'd be interested in using the (to be standard, I believe) logging module found at: http://www.red-dove.com/python_logging.html sys.stdout could be plugged in to this system, and in turn make access to all print statements available. Ian ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
