ran across this today, looks interesting (haven't tried it yet):
*sh <http://amoffat.github.io/sh/> (previously pbs
<http://pypi.python.org/pypi/pbs>) is a full-fledged subprocess interface
for Python that allows you to call any program as if it were a function:*
from sh import ifconfigprint(ifconfig("wlan0"))
# checkout master branchgit.checkout("master")
# print(the contents of this directoryprint(ls("-l"))
# get the longest line of this filelongest_line = wc(__file__, "-L")
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.