Popen and reading stdout in windows

Discussion in 'Python' started by Joseph L. Casale, Jun 10, 2013.

  1. 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
     
    Joseph L. Casale, Jun 10, 2013
    #1
    1. Advertising

  2. 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
     
    Grant Edwards, Jun 10, 2013
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Greg Ercolano
    Replies:
    2
    Views:
    2,916
  2. Replies:
    7
    Views:
    1,269
    Karthik Gurusamy
    Sep 25, 2007
  3. Chris Withers
    Replies:
    1
    Views:
    443
    Lie Ryan
    Dec 18, 2009
  4. Harold Hausman

    IO.popen on Windows to filter stdout

    Harold Hausman, Feb 22, 2007, in forum: Ruby
    Replies:
    5
    Views:
    244
    Bill Kelly
    Feb 23, 2007
  5. Joseph L. Casale

    RE: Popen and reading stdout in windows

    Joseph L. Casale, Jun 11, 2013, in forum: Python
    Replies:
    3
    Views:
    98
    Nobody
    Jun 11, 2013
Loading...

Share This Page