automate commands to an .exe console program through python

2011-12-12 Thread Juan Perez
Hi, I'm new to this mailing list and new in python as well. I need to automate a .exe console program in windows, and send key characters like 'a', 'M' ... I don't need to take the output as is printed in a different text log, but I'll have to send the messages to the program. I had this running

Re: automate commands to an .exe console program through python

2011-12-13 Thread Juan Perez
is Angelico > On Tue, Dec 13, 2011 at 3:41 AM, Juan Perez wrote: > > I need to automate a .exe console program in windows, and send key > > characters like 'a', 'M' ... > > I had this running in an autoIT script which with only activating cmd > > window,

Re: automate commands to an .exe console program through python

2011-12-13 Thread Juan Perez
an get the focus on it? I'm worried that pexpect is a too dificult way... Thanks, Juan 2011/12/13 Tim Golden > On 13/12/2011 11:21, Juan Perez wrote: > >> Well, if developers have to change something to the code, I'd continue >> with autoit, since is closer to

Re: automate commands to an .exe console program through python

2011-12-14 Thread Juan Perez
mands Quite tricky stuff if it is possible to do something like that in Python I can struggle a bit more, if not better leave right now before wasting time with nonsenses... Thanks, Juan 2011/12/13 Chris Angelico > On Tue, Dec 13, 2011 at 11:35 PM, Juan Perez wrote: > > My problem