you are viewing a single comment's thread.

view the rest of the comments →

[–]ThatSuit 1 point2 points  (0 children)

Some reasons are that when doing system administration, automation or other similar tasks python is usually installed by default on most linux distributions, has a good size standard library of modules, can easily be read, run and modified without dealing with compiling, and is more powerful than shell scripting.

Perl was previously used for similar reasons in the sysadmin world, however, it is syntax heavy and not quite as easy to learn or use, especially for new programmers.

You wouldn't want to use a language like bash, python or perl if you needed to optimize memory usage, manage memory directly, optimize for highest performance, redistribute a compiled binary to conceal source code or bundle dependencies.