PyInvoke provides a much easier interface to running CLI processes than subprocess.
Check out similar posts by category:
Python If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow