Good evening, Roberts Greibers here.
We will get into my Python subprocess story and how I even got the point of writing blog posts about Python a bit later.
But at this moment, I want you to pay attention and read very carefully!
What I’m about share with you is a real subprocess Python example! 🚨
How to use subprocess in Python to run command line commands!
The difference between running a shell command in Python with:
- Python subprocess run command
- Python subprocess popen command
- Python subprocess call command
- And why you should use one or the other to execute shell commands with Python (e.g. run Java applications from Python code)
Also, a real example of me actually executing a shell command in Python.
Most “Python subprocess example” tutorials you’ll find online won’t give you a REAL project example..
And they won’t tell you what steps you’ll need to take in your specific situation.
In this post, I’ll share how you should THINK in order to be able to come up with a solution for your own “how to run shell command in Python?” problem.. 🚀
If this sounds interesting to you, keep on reading, I’ll also give you an opportunity to become a Python developer at the end of the post 👇🏻Continue reading