Use python to execute a windows program

2009-09-11 Thread Doran, Harold
Dear list: My question is conceptual at the moment. Current problem: I have a windows-based program that reads in a file and from that file generates data that is saved to a file. The way we do this now is a person sits in front of their machine and proceeds as follows: 1) Open windows

Re: Use python to execute a windows program

2009-09-11 Thread Simon Brunning
2009/9/11 Doran, Harold hdo...@air.org: The way we do this now is a person sits in front of their machine and proceeds as follows: 1) Open windows program 2) Click file - open which opens a dialog box 3) Locate the file (which is a text file) click on it and let the program run. It might

Re: Use python to execute a windows program

2009-09-11 Thread Alan G Isaac
Does the Windows application offer a COM interface? http://oreilly.com/catalog/pythonwin32/chapter/ch12.html http://sourceforge.net/projects/pywin32/ Alan Isaac -- http://mail.python.org/mailman/listinfo/python-list

RE: Use python to execute a windows program

2009-09-11 Thread Doran, Harold
() if __name__ == __main__: Main() -Original Message- From: simon.brunn...@gmail.com [mailto:simon.brunn...@gmail.com] On Behalf Of Simon Brunning Sent: Friday, September 11, 2009 11:02 AM To: Doran, Harold Cc: python-list@python.org Subject: Re: Use python to execute a windows program

Re: Use python to execute a windows program

2009-09-11 Thread Jerry Hill
On Fri, Sep 11, 2009 at 12:46 PM, Doran, Harold hdo...@air.org wrote: I am working with this now. I'm toying with the examples to test out a few things and learn how this works. I've made some modifications such that I have the following working (below). This does nothing more than open a

RE: Use python to execute a windows program

2009-09-11 Thread Doran, Harold
To: python-list@python.org Subject: Re: Use python to execute a windows program On Fri, Sep 11, 2009 at 12:46 PM, Doran, Harold hdo...@air.org wrote: I am working with this now. I'm toying with the examples to test out a few things and learn how this works. I've made some modifications

Re: Use python to execute a windows program

2009-09-11 Thread Jerry Hill
On Fri, Sep 11, 2009 at 3:31 PM, Doran, Harold hdo...@air.org wrote: Thanks, Jerry. Tried that, as well as various other possible names to no avail. You'll need to dig into the documentation then, probably starting in one of these two places: http://pywinauto.openqa.org/howto.html