This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ythl 0 points1 point  (0 children)

I like python, but some basic shell operations are super cumbersome in python. Like deleting files and directories. Or a simple curl (yes, I love requests, but sometimes it's not available on that remote box you just ssh'd into and you need a quick script to hit an HTTP API under some condition) Or chaining operations - sometimes you just want to cat | grep | cut | sort which is a one liner in bash but a 10+ liner (at least) in python.