4 ms·
There are Plumbum shell combinators in Python http://plumbum.readthedocs.org/en/latest/ http://plumbum.readthedocs.org/en/latest/
by d0mine 13y ago
There are Plumbum shell combinators in Python http://plumbum.readthedocs.org/en/latest/ http://plumbum.readthedocs.org/en/latest/
- voltagex_ 13y agoThere are a couple of modules that do this kind of thing but Plumbum looks interesting, particularly http://plumbum.readthedocs.org/en/latest/local_commands.html#import-hack http://plumbum.readthedocs.org/en/latest/local_commands.html... >from plumbum.cmd import cat >>cat('tmp.txt') #invokes cat tmp.txt on the system