Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #47587 > unrolled thread
| Started by | "Joseph L. Casale" <jcasale@activenetwerx.com> |
|---|---|
| First post | 2013-06-10 18:37 +0000 |
| Last post | 2013-06-10 19:29 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
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
| From | "Joseph L. Casale" <jcasale@activenetwerx.com> |
|---|---|
| Date | 2013-06-10 18:37 +0000 |
| Subject | Popen and reading stdout in windows |
| Message-ID | <mailman.2977.1370889521.3114.python-list@python.org> |
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? Thanks! jlc
[toc] | [next] | [standalone]
| From | Grant Edwards <invalid@invalid.invalid> |
|---|---|
| Date | 2013-06-10 19:29 +0000 |
| Message-ID | <kp59f5$d28$1@reader1.panix.com> |
| In reply to | #47587 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web