Re: Error messages when using the Console Module

2008-02-19 Thread peter
> import sys > sys.stdout = open("stdout.log","w") > sys.stderr = open("stderr.log","w") > print "This goes to stdout" > print >>sys.stderr, "This goes to stderr" > This did the trick. Thanks Peter -- http://mail.python.org/mailman/listinfo/python-list

Re: Error messages when using the Console Module

2008-02-15 Thread Gabriel Genellina
En Fri, 15 Feb 2008 11:59:07 -0200, peter <[EMAIL PROTECTED]> escribió: > I am developing code using the effbot Console module, which gives > control over the Windows terminal settings. My problem is that while > this module redirects standard output to a new console window, it > seems to redir

Re: Error messages when using the Console Module

2008-02-15 Thread Christian Heimes
peter wrote: > I am developing code using the effbot Console module, which gives > control over the Windows terminal settings. My problem is that while > this module redirects standard output to a new console window, it > seems to redirect standard error messages to a black hole. So when my > new

Error messages when using the Console Module

2008-02-15 Thread peter
I am developing code using the effbot Console module, which gives control over the Windows terminal settings. My problem is that while this module redirects standard output to a new console window, it seems to redirect standard error messages to a black hole. So when my new code fails, I have no