Succinctness, mainly. but honestly, that succinctness call can also be mostly acquired using sh.py
, which is what I normally use if I’m using python as a sort of shell scripting - mostly because sh.py
is a very minimal requirement, whereas Xonsh has quite a few dependencies.
addendum: I’d say, if you’re already using Xonsh, and aren’t really looking to share your script with anyone other than Xonsh users or your own systems, you’d probably like to use .xsh scripts. But if you’re looking to share your script, use sh.py
.
yeah, really lets you lay down sick code like a mad hacker. I love it.