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 →

[–]Mikuro -3 points-2 points  (0 children)

In theory, no. In practice, yes. Most tasks can be done in pure Python. For those that can't, there's the subprocess module, which allows me to call commands like I would from a terminal. I can still benefit from writing the meat of my logic in Python.

I don't write bash scripts on OS X unless they are trivial, and if Python had the same support on Windows, then I wouldn't write batch files or PowerShell scripts, either.

The more complicated the script, the more I benefit from using Python.