On 2010-10-15, Dan <daniel.goert...@gmail.com> 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 -- http://mail.python.org/mailman/listinfo/python-list