Re: [Tutor] Q regarding external program calling

2016-11-07 Thread eryk sun
On Sun, Nov 6, 2016 at 9:09 AM, Alan Gauld via Tutor wrote: > On 06/11/16 01:44, Clayton Kirkwood wrote: >> Looked all over, but haven't found the answer. If I have a (windows) program >> which I wish to start, even shell scripts, and possibly capture the output >> from, how do I do that? > > Othe

Re: [Tutor] Q regarding external program calling

2016-11-06 Thread Alan Gauld via Tutor
On 06/11/16 01:44, Clayton Kirkwood wrote: > Looked all over, but haven't found the answer. If I have a (windows) program > which I wish to start, even shell scripts, and possibly capture the output > from, how do I do that? Others have already pointed you to the subprocess module. The documentat

Re: [Tutor] Q regarding external program calling

2016-11-05 Thread Danny Yoo
Hi Clayton, I'm not too familiar with development on Windows, unfortunately, but I think the 'subprocess' module is what you're looking for. https://docs.python.org/3/library/subprocess.html For example: http://stackoverflow.com/questions/748028/how-to-get-output-of-exe-in-python-script sh

[Tutor] Q regarding external program calling

2016-11-05 Thread Clayton Kirkwood
Looked all over, but haven't found the answer. If I have a (windows) program which I wish to start, even shell scripts, and possibly capture the output from, how do I do that? Thanks, C PS, also, please me to where I can find more. My searches were rather useless. _