Re: Simulate input to another program

2006-07-27 Thread Antoon Pardon
On 2006-07-27, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > So there is no easy built in way to do this? Depends on what you mean by easy. A look at the pty module may help. -- Antoon Pardon -- http://mail.python.org/mailman/listinfo/python-list

Re: Simulate input to another program

2006-07-27 Thread 31337one
So there is no easy built in way to do this? -- http://mail.python.org/mailman/listinfo/python-list

Re: Simulate input to another program

2006-07-27 Thread TeCh
[EMAIL PROTECTED] wrote: > I am using a python script as a way to test another program that I have > written in C++. The program cannot be altered. It needs to stay the way > it is. > > I need to simulate a few keystrokes to the application while it is > running. The application uses number keys

Simulate input to another program

2006-07-27 Thread 31337one
Hello everyone, I am using a python script as a way to test another program that I have written in C++. The program cannot be altered. It needs to stay the way it is. I need to simulate a few keystrokes to the application while it is running. The application uses number keys and y and n to naviga