Re: [Tutor] Running a dos program with python

2010-03-10 Thread Martin Walsh
Armstrong, Richard J. wrote: > Hello all, > > This is my first post to the Tutor@python.org > mailing list. I am in the process of switching from Matlab to Python and > there is one task that I am having a hard time doing and cannot find the > answer on the web. I want to

Re: [Tutor] Running a dos program with python

2010-03-10 Thread Armstrong, Richard J.
r <mailto:waynejwer...@gmail.com> Cc: tutor@python.org Subject: Re: [Tutor] Running a dos program with python From: sri...@gmail.com [mailto:sri...@gmail.com] On Behalf Of Wayne Werner Sent: Wednesday, March 10, 2010 2:24 PM To: Armstrong, Richard J. Cc: tutor@python.org Subject: Re:

Re: [Tutor] Running a dos program with python

2010-03-10 Thread Armstrong, Richard J.
From: sri...@gmail.com [mailto:sri...@gmail.com] On Behalf Of Wayne Werner Sent: Wednesday, March 10, 2010 3:00 PM To: Armstrong, Richard J. Cc: tutor@python.org Subject: Re: [Tutor] Running a dos program with python On Wed, Mar 10, 2010 at 4:51 PM, Armstrong, Richard J. wrote: The

Re: [Tutor] Running a dos program with python

2010-03-10 Thread Randy Raymond
I use wxPython, which allows a statement like: wx.Execute('c:\shake91.exe "FLAC.txt" "a.txt" "b.txt"') From: Armstrong, Richard J. Sent: Wednesday, March 10, 2010 4:51 PM To: Wayne Werner Cc: tutor@python.org Subject: Re: [Tutor] Running a d

Re: [Tutor] Running a dos program with python

2010-03-10 Thread Wayne Werner
On Wed, Mar 10, 2010 at 4:51 PM, Armstrong, Richard J. < rarms...@water.ca.gov> wrote: > > > The dos program pops up and if I hit the enter key three times then it > runs. How can I add these three “enters” into the script? > I'm not at all sure if this way would work, but you could send the \r\n

Re: [Tutor] Running a dos program with python

2010-03-10 Thread Armstrong, Richard J.
From: sri...@gmail.com [mailto:sri...@gmail.com] On Behalf Of Wayne Werner Sent: Wednesday, March 10, 2010 2:24 PM To: Armstrong, Richard J. Cc: tutor@python.org Subject: Re: [Tutor] Running a dos program with python On Wed, Mar 10, 2010 at 3:20 PM, Armstrong, Richard J. wrote: Hello

Re: [Tutor] Running a dos program with python

2010-03-10 Thread Wayne Werner
On Wed, Mar 10, 2010 at 3:20 PM, Armstrong, Richard J. < rarms...@water.ca.gov> wrote: > Hello all, > > > > This is my first post to the Tutor@python.org mailing list. I am in the > process of switching from Matlab to Python and there is one task that I am > having a hard time doing and cannot fi

[Tutor] Running a dos program with python

2010-03-10 Thread Armstrong, Richard J.
Hello all, This is my first post to the Tutor@python.org mailing list. I am in the process of switching from Matlab to Python and there is one task that I am having a hard time doing and cannot find the answer on the web. I want to write a script in python that will open up a windows dos progra