On Tue, May 05, 2015 at 04:47:24PM -0700, Jim Mooney Py3.4.3winXP wrote:

> An ancillary question. I found a readchar that purports to install in py2
> and 3 but fails in 3. The errors (something from the encodings module)
> won't copy from the console, so I thought I could redirect them like so:
> 
> python3 setup.py > errors.txt

Is this under Linux or another Unix? If so, > only redirects stdout, not 
stderr, so you need:

python3 setup.py 2> errors.txt

to capture the errors.

I have no idea if Windows works the same way.



-- 
Steve
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to