Re:Show HN: Shellpy a tool for convenient shell scripting in...
by mynewtb on Sunday February 21, 2016 @10:17AM
(#11144800)
How does it compare to that 'sh' module?
[ Parent
| on HN ]
Re:Show HN: Shellpy a tool for convenient shell scripting in...
by alexander996 on Sunday February 21, 2016 @10:20AM
(#11144816)
It has completely different syntax than sh.
For sh a command would look like
from sh import ifconfig print(ifconfig("wlan0"))
For shellpy
p`ifconfig wlan