On Wed, Jan 4, 2012 at 8:05 PM, Mihai Badoiu <mbad...@gmail.com> wrote: > is there a way to pipe directly into a preallocated buffer? > (subprocessing.pipe.stdout) >
Does io.StringIO fit your needs? http://docs.python.org/py3k/library/io.html#io.StringIO -- regards, kushal -- http://mail.python.org/mailman/listinfo/python-list