Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #47589

Re: Popen and reading stdout in windows

From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: Popen and reading stdout in windows
Date 2013-06-10 19:29 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <kp59f5$d28$1@reader1.panix.com> (permalink)
References <mailman.2977.1370889521.3114.python-list@python.org>

Show all headers | View raw


On 2013-06-10, Joseph L. Casale <jcasale@activenetwerx.com> 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            

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Popen and reading stdout in windows "Joseph L. Casale" <jcasale@activenetwerx.com> - 2013-06-10 18:37 +0000
  Re: Popen and reading stdout in windows Grant Edwards <invalid@invalid.invalid> - 2013-06-10 19:29 +0000

csiph-web