News for hackers. Stuff that matters.
Re:Sh.py by arturadib on Monday September 17, 2012 @11:16AM (#4532931)
Definitely neat, but of course platform-dependent.

Due to the cross-platform needs of Mozilla's PDF.js build scripts, we've been writing a Node.js lib on top of Node's APIs that enables you to write shell-like scripts that run seamlessly on multiple platforms:

http://shelljs.org

Like Sh.py, you can (if you must) also run external commands, either synchronously or asynchronously.

Re:Sh.py by sciurus on Monday September 17, 2012 @09:05PM (#4535735)
This seems only tangentially related. The point of something like sh.py is to ease the use of external commands you need to use. The functions that shelljs partially implements (cd, pwd, ls, find, cp, rm, mv, mkdir, test, cat, sed, grep, which, echo, exit, env) are already trivially accomplished in Python.