![](https://blog.redbranch.net/wp-content/uploads/2019/07/python-300x100.png)
In the past I have been too willing to use bash scripts for grepping and awking CSV files. The code snippet below is a starter for doing similar with python and while far from perfect, demonstrates calling another system command and manipulating strings: