Does the author know he can write functions in bash?
I mean, if he wants to compare programming languages, he should at least compare similar programming styles.
Bash is great for OS scripts because it has built-in commands and syntax for dealing with processus and their inter-communication (pipes and stuff).
Python has NOTHING about that. If you want to do this, you have to use a module, read its documentation, and be prepared to write ugly, verbose method calls all around.