I like bash for programs that go in a straight line from bottom to top and where you don’t need to think about quoting so much. If there are loops, conditionals, and such, you are better off with a real language. If you stick to the standard library and don’t mess around with pip, Python is fine for simple scripts.<p>(I love writing bash scripts that do loops by writing an awk 1-liner that you pipe into bash, I don’t have to read the awk manual to do this, whereas control structures in bash are so far from the mainstream that I have to look them up in the manual every time I need to use them… you really aren’t supposed to do this because script injection is possible. The shell scripting mafia says, “use xargs” but that involves reading an awful man page for two hours so you can do something that takes two minutes in a language not so far from the mainstram.)