Apr 172013
 

I didn’t now I needed it until I found it: python-sh

I allows you to do:

from sh import touch
touch("ABCD")

In other words: You can just call Unix programs with a simple import. I don’t know, where to use it yet and whether it has security implications or even if error-handling is easy, but compared to the SubProcess API this seems awesome.

 Posted by at 2:56 pm

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)