Converting bash to python
Converting bash to python