Translate shell scripts to Python
As I recently work quite a lot on macOS I found the following problem:
Due to the many different shells it's quite hard to write portable shell scripts. Most of the command just don't work exactly the same.
Suggestion using Python (version 3) instead it should be much easier to get things portable and maybe more people also understand Python scripts.