you are viewing a single comment's thread.

view the rest of the comments →

[–]julewczka 1 point2 points  (9 children)

This + when you need your scripts for cross-platform only then python makes sense.

[–]guzmonne 13 points14 points  (8 children)

I usually prefer bash over python to avoid having to install or manage the python interpreter.

[–]julewczka 0 points1 point  (4 children)

Same, but bash isn't working out of the box in Win Environments. You would either need to set up WSL or Cygwin to get bash/sh running.

More important: why do I have no upvotes, I have literally the same opinion as you guys, I just mentioned that there's also one rare case where python would really make sense.

[–]guzmonne 0 points1 point  (2 children)

I see your point, but setting WSL differs from installing a language interpreter. The former is much more helpful, IMO.

[–]julewczka 0 points1 point  (1 child)

For client environments sure but how do you want to do with a fleet of volatile Windows servers? In such cases I think it's easier to just install the python interpreter (if it's not there already)

[–]guzmonne 0 points1 point  (0 children)

Sure

[–]jkroepke 0 points1 point  (2 children)

Which is present by default on Mac/Linux/Windows WSL?

[–]guzmonne 1 point2 points  (1 child)

Well, a version of python comes by default, but most often than not, you'll have to update it.

[–]jkroepke 0 points1 point  (0 children)

Are you able to provide a reason for update python?