News for hackers. Stuff that matters.
Re:Bashing the Bash – Replacing Shell Scripts with Python (2... by BeetleB on Friday March 25, 2022 @08:32PM (#30808263)
> I was hoping someone finally had a library or something to make python good at the things shell does well (mostly, running stuff and piping output around). If only.

xonsh (https://xon.sh/)

Been using it for a few years now. It's worth it.

Re:Bashing the Bash – Replacing Shell Scripts with Python (2... by emacs28 on Saturday March 26, 2022 @01:23PM (#30813593)
I haven't heard of xonsh either till now. After looking it over, it seems like a perfect integration of sh with Python. There's a good chance I'll give an honest shot at migrating from zsh to xonsh this week.
Re:Bashing the Bash – Replacing Shell Scripts with Python (2... by rvieira on Saturday March 26, 2022 @06:17AM (#30810632)
Never heard of xonsh before and it looks really useful. Thanks.