|
|
|
|
|
by mycelium
2977 days ago
|
|
I'd highly recommend the xonsh shell for scripting if you're familiar with python: http://xon.sh/tutorial.html Once you do tutorial and learn the rules for going between shell and python, it's super easy to slice and dice. I have always disliked that moment of "yes, a shell script is probably the best tool for this job" that then leads me to banging my head against bash syntax for an hour. Python libraries like `sh` are great, but still a little high overhead. Now the twice a month I have to shell script I find to be pretty fun, and I'd highly recommend xonsh. Great PyCon 2016 talk on it here: https://www.youtube.com/watch?v=uaje5I22kgE |
|