This question already has an answer here:

Recently I was looking at python's shutil and subprocess etc... And I started wondering: wouldn't it be ok to use python instead of e.g. bash?

What am I missing?

marked as duplicate by gnat, Martijn Pieters, thorsten müller, Bart van Ingen Schenau, Kilian Foth Apr 15 '13 at 9:20

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Convenience of syntax, mostly.

In python, running a process requires subprocess.call(...); renaming a file shutil.move(), etc. Bash syntax is much more direct for those tasks.

Yes, Python is a great language, but the explicit syntax to execute (for bash) simple tasks is going to get in the way of doing day-to-day work real fast.

Not the answer you're looking for? Browse other questions tagged or ask your own question.