Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Popen and reading stdout in windows Date: Mon, 10 Jun 2013 19:29:42 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 16 Message-ID: References: NNTP-Posting-Host: dsl.comtrol.com X-Trace: reader1.panix.com 1370892582 13384 64.122.56.22 (10 Jun 2013 19:29:42 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 10 Jun 2013 19:29:42 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) Xref: csiph.com comp.lang.python:47589 On 2013-06-10, Joseph L. Casale wrote: > I have a use where writing an interim file is not convenient and I > was hoping to iterate through maybe 100k lines of output by a process > as its generated or roughly anyways. > > Seems to be a common question on ST, and more easily solved in Linux. > Anyone currently doing this with Python 2.7 in windows and can share > some guidance? http://docs.python.org/2/library/subprocess.html -- Grant Edwards grant.b.edwards Yow! All of life is a blur at of Republicans and meat! gmail.com