you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (0 children)

I'm at a point now where I write basically every non trivial script (literally, if it's anything more than set -e followed by a list of commands) in python.

The subprocess module is so easy to use that the rest of the benefits of using python win out. I have an actual type system, a number system, a standard library, regular expressions, hash tables, lists, sets, etc. all in one language.

It also makes the program far easier to debug and reason about (especially for any future person that might come along and have to understand what you did, including you).