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


Groups > comp.lang.python > #4628

Re: Basic interaction with another program

From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: Basic interaction with another program
Date 2011-05-04 16:52 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <ips09a$iqe$1@reader1.panix.com> (permalink)
References <c6e05be5-a863-43c2-827a-a91d369e3ef6@d26g2000prn.googlegroups.com> <mailman.1156.1304527192.9059.python-list@python.org>

Show all headers | View raw


On 2011-05-04, Matty Sarro <msarro@gmail.com> wrote:



> On Wed, May 4, 2011 at 12:34 PM, ETP <matthew.moorland@gmail.com> wrote:
>> I have a dos program (run in a window) that I would like to control
>> with a script.

> Look into the pexpect library, it'll make this easy as punch.

I don't think pexpect is going to do the OP much good. Quoting from
the web page:

  "Pexpect does not currently work on the standard Windows Python"

> http://www.noah.org/wiki/pexpect

Seriously?  Yellow on brown text?

-- 
Grant Edwards               grant.b.edwards        Yow! When this load is
                                  at               DONE I think I'll wash it
                              gmail.com            AGAIN ...

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


Thread

Basic interaction with another program ETP <matthew.moorland@gmail.com> - 2011-05-04 09:34 -0700
  Re: Basic interaction with another program Matty Sarro <msarro@gmail.com> - 2011-05-04 12:39 -0400
    Re: Basic interaction with another program Grant Edwards <invalid@invalid.invalid> - 2011-05-04 16:52 +0000
      Re: Basic interaction with another program Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-04 11:30 -0600
        Re: Basic interaction with another program Grant Edwards <invalid@invalid.invalid> - 2011-05-04 18:07 +0000
  Re: Basic interaction with another program Terry Reedy <tjreedy@udel.edu> - 2011-05-04 15:15 -0400
    Re: Basic interaction with another program ETP <matthew.moorland@gmail.com> - 2011-05-04 15:21 -0700

csiph-web