SyntaxFix
Write A Post
Hire A Developer
Questions
The easiest way is to use the library commands
import commands print commands.getstatusoutput('echo "test" | wc')