How do I send keystrokes to a console window in Windows XP?

RTG GoogleGroups at garringer.net
Tue Jul 19 10:47:35 EDT 2005


Benji,

This appears to be exactly what we need.
I also see that by changing "Command Prompt" to "Notepad" or another
application, the key strokes are sent there.

With this capability, other possibilities open up.
Is there a way to read the output from the from the console window?
For example, how can we capture the output of the dir command?

Thank you for your help.




More information about the Python-list mailing list