3 ms·
Why would you reimplement piping? Just use the shell: output = check_output(“dmesg | grep hda”, shell=True) Or regular Python string methods could be used
by d0mine 6y ago
Why would you reimplement piping? Just use the shell:
output = check_output(“dmesg | grep hda”, shell=True)
Or regular Python string methods could be used instead of piping to grep.
- deleted 6y ago[deleted]