Oleg Broytman <phd <at> phd.pp.ru> writes: > > Depends on the kind of cat and especially on the ways of using it. If > you ask cat to number lines (see manual for GNU cat) - what do "lines" mean > for binary IO?
b"\n"-separated chunks of data. See the docs: http://docs.python.org/3.1/library/io.html#io.IOBase.readline Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com