[Tutor] Program to Simulate Keystrokes

Kent Johnson kent37 at tds.net
Tue Aug 4 21:45:54 CEST 2009


On Tue, Aug 4, 2009 at 3:01 PM, Chris
Fuller<cfuller084 at thinkingplanet.net> wrote:
> On Tuesday 04 August 2009 12:43, Megan Land wrote:

>> If at all possible I need a program that will work on Windows and Linux (I
>> know a tall order).  I'm trying to keep this simple but if I have to use
>> two different programs I will.

> If your needs are basic, popen will probably suffice.  But, there is a module,
> Pexpect, that is made just for this job.
> http://sourceforge.net/projects/pexpect/

IIRC Pexpect requires pty and doesn't run on Windows.

Kent


More information about the Tutor mailing list