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 navigate a
basic menu.

Is there a way within python to simulate the keystrokes to this other
program.

Both the application and the python script are running in a terminal.

Thanks for all your help,

-E

-- 
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


Coloring tkinter dialogs

2006-08-01 Thread 31337one
If I use the dialog template for tkinter, how do I go about customizing
its color?

Thanks

-- 
http://mail.python.org/mailman/listinfo/python-list