Tag Archives: shell

Python: Execute shell command and get command line output as string

Sometimes you may want to execute a shell command via Python. Then, the shell prints out several data that you may want to process further within your Python script. I rarely found reasonable solutions, so I want to post mine … Continue reading

Posted in Computer Pragmatics | Tagged , , , | Leave a comment