[Tutor] Q regarding external program calling
Danny Yoo
dyoo at hashcollision.org
Sat Nov 5 22:47:08 EDT 2016
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
should help you get started.
To find that example, I did a web search (google, bing, duckduckgo)
with the terms:
[capture output in python]
and all three search engines return reasonable results. Try it out
and see if that helps you find some other good examples.
If you have more questions, please feel free to ask. Good luck!
More information about the Tutor
mailing list