On Oct 15, 2:42 pm, Neil Cerutti <[email protected]> wrote:
> On 2010-10-15, Dan <[email protected]> wrote:
>
> > I am writing a Windows program in Python 3.1.2 that reads
> > binary data from stdin.  Whenever it hits a \x1a character,
> > stdin goes EOF and no more data can be read.  A short program
> > that exhibits this problem is:
>
> stdin is not in binary mode. Try invoking with -u option.
>
> --
> Neil Cerutti

That worked, thanks!
Dan.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to