My system Python tree is almost 1GB. That doesn't matter for desktop systems, but most software is published as container images these days and using a language like Python, Ruby or Perl for an image that doesn't already need it is pretty wasteful and pulls in a lot of extra dependencies.
I'm not sure there is a good alternative to sh/bash shell scripts as most dynamic languages have become pretty large dependencies these days.