Answers for "run a python script with python and catch command line output"

0

run a python script with python and catch command line output

import os
cmd = 'wc -l my_text_file.txt > out_file.txt'
os.system(cmd)
Posted by: Guest on March-05-2021

Code answers related to "run a python script with python and catch command line output"

Python Answers by Framework

Browse Popular Code Answers by Language