os.system

What is a practical difference between check_call check_output call, and Popen methods in the subprocess module?

喜夏-厌秋 提交于 2020-07-17 01:42:12
问题 Honestly, I just don't understand the lingo of "non-zero" status to really interpret what's going on or what that means (it wasn't even defined) on help pages. What are some examples of using python to call other scripts in which these processes of subprocess.call subprocess.check_output subprocess.popen really differ from each other? When would you use either of those, and what are the disambiguated details of these methods? Should I be using os.system instead if I wanted simple OS calls?