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
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
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
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.
_