On Tue, 28 Jul 2009 03:21:30 am MRAB wrote: > What about stderr? You could add "e" if you want to read from it. "Read from stderr" is just a read. "Write to stderr" is just a write. The difference between reading stdout and stderr is not that you have different modes, but that you are reading from different files. -- Steven D'Aprano