io - Python – BinaryIO Stream read while writing -
i need stream in python writing stuff. while writing it, threaded method should read it, until gets closed (eof).
so far can create stream stream = io.binaryio('binarystart')
, stream.seek(0, 1)
begining of stream read it. cannot append binary strings end of stream. because main process shares same stream (therefor same cursor , cursor position) threaded reader.
any ideas solve this?
Comments
Post a Comment