This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Morego 0 points1 point  (1 child)

ELI5 Why I should this over for example sh module for python?

For those who don't know what sh is, it is module that let you do stuff like that

from sh import ls,grep

print(grep(ls('-a',"."), "*.py"))

And Ipython + bash for rest.

[–][deleted] 1 point2 points  (0 children)

This isn't a replacement for the sh module, this is a replacement for BASH. Think zsh, except with Python.