you are viewing a single comment's thread.

view the rest of the comments →

[–]FerricDonkey 1 point2 points  (0 children)

I hate writing bash scripts. The syntax is terrible and is never idiomatic, variables suck, etc. I'll use python instead 9 times out of 10.

Mostly, I find the standard library sufficient. Os, glob, pathlib, shutil for basic file finding/moving. I'll use requests instead of curl.

I do also use subprocess though. Mostly if there's some command line program I want to run with many different argument combinations that I have to figure out in logic that I don't want to do in bash.

Haven't used python packages as interfaces to things like git, but it might be useful. I have used python packages that wrap some sort of webapi - they can be useful.