News for hackers. Stuff that matters.
Re:Sh.py by russelldavis on Monday September 17, 2012 @03:59AM (#4531645)
For a similar library with a slightly different take, check out plumbum:

http://plumbum.readthedocs.org/en/latest/index.html

Here's the explanation on the differences:

"The project has been inspired by PBS of Andrew Moffat, and has borrowed some of his ideas (namely treating programs like functions and the nice trick for importing commands). However, I felt there was too much magic going on in PBS, and that the syntax wasn’t what I had in mind when I came to write shell-like programs. I contacted Andrew about these issues, but he wanted to keep PBS this way. Other than that, the two libraries go in different directions, where Plumbum attempts to provide a more wholesome approach."

Re:Sh.py by mixmastamyk on Monday September 17, 2012 @12:36PM (#4533359)
Ooh, I like the piping syntax better. The module name is a bit long and hard to remember though.
Re:Sh.py by jdnier on Monday September 17, 2012 @06:03PM (#4535151)
Plumbum is the latin name for lead, periodic table symbol "Pb", perhaps memorable enough considering Plumbum was inspired by an earlier project called PBS.
Re:Sh.py by mixmastamyk on Tuesday September 18, 2012 @02:49AM (#4536744)
Still doesn't roll of the keyboard, does it?