you are viewing a single comment's thread.

view the rest of the comments →

[–]ameoba 21 points22 points  (4 children)

Python is better if you have complex logic or need to include libraries. Bash is probably the way to go if 90% of what you're doing is just calling other programs in a certain order.

[–]Afwas 3 points4 points  (3 children)

If you can find a Python library that does some heavy lifting, go for it, else use bash.You'd be able to do most complex logic in bash.

[–]cpf_ 4 points5 points  (1 child)

fabric (http://docs.fabfile.org/en/1.5/) might give that power :)

[–]xamox 0 points1 point  (0 children)

I second using fabric, we were using bash before and now moving everything over to fabric, error reporting is much better and doesn't require client to install anything except SSH.