Also, please don't use bare "except:" stanzas. This will also hide syntax errors and unknown identifiers like "subprocess.checkoutput". Only intercept the exceptions that you actually expect, such as subprocess.CalledProcessError.
Thanks!
Also, please don't use bare "except:" stanzas. This will also hide syntax errors and unknown identifiers like "subprocess. checkoutput" . Only intercept the exceptions that you actually expect, such as subprocess. CalledProcessEr ror.
Thanks!